
Yes it will. You can use a NFS or SAMBA share, or if you don't have anything like that, simply pipe your dd thru ssh like this:sog wrote: will the dd command work with network drives, because that'll be easier than finding another external drive with a real FS
Code: Select all
# dd if=/dev/hda4 | ssh $fileserver "cd /big/filesystem; dd of=hda4.bin"

Code: Select all
sudo mount -t smbfs //192.168.2.4/home/sog/sogjr_recovery /mnt/apone -o username=sog,uid=hs_int1023,gid=sambaCode: Select all
4359: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed
Code: Select all
[sogjr_recovery share]
comment = backup share
browseable = yes
guest ok = yes
writable = yes
path = /home/sog/sogjr_recoveryCode: Select all
sudo mount -t smbfs //192.168.2.4/sogjr_recovery /mnt/apone -o username=sog,uid=hs_int1023,gid=samba Code: Select all
dd_rescue if=/dev/hda4 of=/mnt/apone/hda4.iso
dd_rescue: (fatal): open "if=/dev/hda4" failed: No such file or directory
Code: Select all
fdisk -l /dev/hda
Cannot open /dev/hda
Code: Select all
sudo fdisk -l /dev/hda
Disk /dev/hda: 40.0 GB, 40007761920 bytes
240 heads, 63 sectors/track, 5168 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1258 9510448+ 7 HPFS/NTFS
/dev/hda2 1259 1263 37800 83 Linux
/dev/hda3 1264 1330 506520 82 Linux swap / Solaris
/dev/hda4 1331 5168 29015280 83 LinuxCode: Select all
dd_rescue if=/dev/hda4 > /mnt/apone/hda4.iso
bash: /mnt/apone/hda4.iso: Permission deniedCode: Select all
sudo dd_rescue if=/dev/hda4 > /mnt/apone/hda4.iso
bash: /mnt/apone/hda4.iso: Permission deniedTo use dd_rescue in your case, run:USAGE: dd_rescue [options] infile outfile
Code: Select all
dd_rescue /dev/hda4 /mnt/apone/hda4.isoYou see that it is trying to open a file called "if=/dev/hda4", and dies out since there is no directory called "if=".dd_rescue: (fatal): open "if=/dev/hda4" failed: No such file or directory
Code: Select all
sudo bash -c 'dd_rescue if=/dev/hda4 > /mnt/apone/hda4.iso'Code: Select all
dd_rescue /dev/hda4 /mnt/apone/hda4.isoCode: Select all
sudo dd_rescue /dev/hda4 /mnt/apone/hda4.isoCode: Select all
xferd: 2096128.0kCode: Select all
errs: 0