DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-11-14 07:21:45

sigelang
New member
Registered: 2009-11-14
Posts: 3

How can you clone the Linux OS Hard drive?

I am running Debian Lenny on my DNS-323 and I am a newbie on Linux. Right now  I am only using a single drive (1Tb) so there is a place for a second drive (160 Gb) to backup and image the original Hard drive just in case something happen to it. Is there a tutorial on how to image or clone the existing hard drive so I can easily swap out just in case the original hard drive fails?  With Debian installed, that little NAS is very helpful to my work. (dns, ping, telnet, nslookup, dig and "sftp").

I can initiate a VPN/tunnel from work to that little device and use it to troubleshoot my network.


Thanks,
Sige

Debian GNU/Linux 5.0
LINK login: sige
Password:
Last login: Fri Nov 13 17:06:17 PST 2009 from 192.168.88.168 on pts/3
Linux LINK 2.6.30-2-orion5x #1 Sat Nov 7 00:42:42 UTC 2009 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
No mail.
sige@LINK:~$
sige@LINK:~$ df -h
Filesystem           Size    Used     Avail   Use% Mounted on
/dev/sda2           917G    864M   870G   1%     /
tmpfs                  31M      0   3    1M       0%     /lib/init/rw
udev                   10M      564K   9.5M    6%     /dev
tmpfs                  31M      0         31M     0%     /dev/shm
/dev/sda1           228M   11M     205M   5%     /boot
sige@LINK8890:~$

Offline

 

#2 2009-11-14 09:40:16

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: How can you clone the Linux OS Hard drive?

Offline

 

#3 2009-11-14 22:28:48

sigelang
New member
Registered: 2009-11-14
Posts: 3

Re: How can you clone the Linux OS Hard drive?

Thanks for the link bjby. I looked at the link and it appears to me that the information mostly discussed in  protecting your valuable data and maybe I missed the part on cloning the hard drive. Since I am not a seasoned linux athministrator I will probably look into a commercial application like Acronis or ghost. Install the cloning utility on CD or USB and install both hard drive in a regular PC. 

I had the impression on Linux system that I can do the IMAGING, copy the information bit-by-bit, sector by sector  on a smaller hard drive via one command line .

This little box is turning to be very useful to me. I just wish it had more physical memory.



BTW., I have both seagate HD's, Is there  any cloning utility that will run form a dos or linux from the manufacturer that I can get from the web for free?

Last edited by sigelang (2009-11-14 22:32:17)

Offline

 

#4 2009-11-18 16:25:04

hell0
Member
From: .de
Registered: 2008-05-13
Posts: 81

Re: How can you clone the Linux OS Hard drive?

you should definitely read the man for dd like here: http://ss64.com/bash/dd.html


CH3SNAS firmware 1.05 with WD1000FYPS and ffp 0.5 on USB Stick

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB