Hi. I have a CentOS server (a Dell 860) with two drives in it. One is running CentOS 6.4 which I want to keep & the bigger 400GB drive has Debian 7 on it which I want to erase & use for backups. Which is the best way to go about achieving my intended goal? The Debian drive is not mounted when Centos is booted. Any help appreciated. Cheers, Phil... -- currently (ab)using Arch Linux, CentOS 5.9 & 6.4, Debian Squeeze & Wheezy, Fedora Spherical & That Damn Cat, Lubuntu 12.10, OS X Snow Leopard & Tiger, Ubuntu Quantal, Raring & Saucy GnuGPG Key : http://phildobbin.org/publickey.asc
Burn a DBAN disk. Shutdown, pull out the drive you want to keep. Boot to the dban disk, when prompted type autonuke, wait for the process to complete. Shutdown, reinsert the centos drive you wanted to keep. You will now have your centos main drive, and a blank backup disk. You'll need to run mkfs on the blank drive. Then mount it where you want it. Phil Dobbin <bukowskiscat at gmail.com> wrote:>Hi. > >I have a CentOS server (a Dell 860) with two drives in it. > >One is running CentOS 6.4 which I want to keep & the bigger 400GB drive > >has Debian 7 on it which I want to erase & use for backups. > >Which is the best way to go about achieving my intended goal? The >Debian >drive is not mounted when Centos is booted. > >Any help appreciated. > >Cheers, > > Phil... > >-- >currently (ab)using >Arch Linux, CentOS 5.9 & 6.4, Debian Squeeze & Wheezy, Fedora Spherical >& That Damn Cat, Lubuntu 12.10, OS X Snow Leopard & Tiger, Ubuntu >Quantal, Raring & Saucy >GnuGPG Key : http://phildobbin.org/publickey.asc > >_______________________________________________ >CentOS mailing list >CentOS at centos.org >http://lists.centos.org/mailman/listinfo/centos-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
On 9/26/2013 11:30 AM, Phil Dobbin wrote:> I have a CentOS server (a Dell 860) with two drives in it. > > One is running CentOS 6.4 which I want to keep & the bigger 400GB drive > has Debian 7 on it which I want to erase & use for backups. > > Which is the best way to go about achieving my intended goal? The Debian > drive is not mounted when Centos is booted.this 400GB drive is /dev/sdb ? as root... fdisk /dev/sdb and delete all partitions, create a new linux partition thats the full size of the disk, exit fdisk. mkfs.ext3 /dev/sdb1 mkdir /backups edit /etc/fstab and add a line to the bottom like: /dev/sdb1 /backups ext3 defaults 1 2 now, mount /backups voila, done. your backups will be mounted as /backups when you reboot. -- john r pierce 37N 122W somewhere on the middle of the left coast