-
Senior Member
registered user
Re: copyin
>> 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

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

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

Cisco 8-Port Ethernet Catalyst Switch - WS-C2960C-8TC-L - Brand New
$50.00

Cisco Catalyst 2960x (WS-C2960X-48FPD-L) 48 Port POE Rack Mount Switch Brand New
$399.99

CISCO Services Router C891F-K9, Grade B, SKU 16188
$24.94

Cisco C3850-NM-2-10G 2 Port Network Exp Module for 3850
$16.99

Cisco Catalyst WS-C3560CX-8PC-S Managed Switch 8 PoE+ Port | Quantity Available
$97.49

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

Cisco Catalyst WS-C2960+24TC-S 24-Port Gigabit Managed SFP Switch
$39.99

Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New
$101.99