-
Senior Member
registered user
Re: copyin
I should clarify. I meant to say do that before putting anything on the drive. Otherwise you'll have to zero out the other space using the other method i mentioned.

Originally Posted by
Dave_Bechtel
>> If you want to make a compressed image of the drive you'd first want to dd if=/dev/zero of=/dev/hda the drive so that the unused space will compress very well. Then remote mount a file system...
--Do you realize what you just said there? That ***wipes out the entire drive,*** making it pointless to back up...

Originally Posted by
stonent
You can do the cat /dev/hda thing with ntfs, but you can't untar because Knoppix can't write to windows 2000 drives.
For some reason, copying an EXT2 drive with knoppix takes much longer. For that I type mount and read the pid of the auto mounter and kill -9 it. Then umount everything that is /dev/hdsomething or /dev/sdasomething
Also this will make the drives with identcal partitions so if you are going from a 20gb to a 40gb you'll have to make another partition or resize it using fips or something like that.
If you want to make a compressed image of the drive you'd first want to dd if=/dev/zero of=/dev/hda the drive so that the unused space will compress very well. Then remote mount a file system (samba or nfs) and
cat /dev/hda | gzip -9 > /mnt/remotefs/blah.img.gz (something like that, the > may not be necessary)
If you already have a full drive that you want to duplicate do something like dd if=/dev/zero of=/junkfile.tmp that will fill the empty space with zeros and then delete the junkfile.tmp after it dies from a full filesystem.
Similar Threads
-
By Eshnet.net in forum The Lounge
Replies: 7
Last Post: 03-20-2004, 12:22 AM
-
By rickenbacherus in forum The Lounge
Replies: 3
Last Post: 01-29-2004, 04:13 AM
-
By Jared in forum The Lounge
Replies: 5
Last Post: 11-27-2003, 08:11 PM
-
By Flitt in forum General Support
Replies: 1
Last Post: 10-09-2003, 09:11 AM
-
By k.otaku in forum The Lounge
Replies: 3
Last Post: 03-06-2003, 04:07 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001
$14.90

Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver
$1500.00

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

*Lot of 20* Cisco SFP-10G-SR Transceiver Modules
$89.99

Dell Mellanox ConnectX-4 Lx CX4121C 020NJD Dual-Port 25GbE SFP28 NIC Low Profile
$35.00

Extreme Networks 10GE X440-G2-24P-10GE4 16533 24Plus-Ports POE+ Switch UP
$127.00