Help adding second HDD for storage only
Not entirely sure this is in the correct forum, so if not I appologise.
I have a simple home server setup (CentOS 5.x, Apache, MySQL etc) which is installed on a single HDD. I would like to add a second HDD to the machine but only for serving files to my LAN.
I would like the files I put on this second HDD to be completely separate from primary HDD so that if I need to format Linux for some reason, none of my shared files are lost (all I need do is remove the second HDD and format etc).
Can someone point me in the right direction for doing this please?
Thanks in advance.
You can format the second HDD with fdisk and then mount it using the mount command.
I found the following on another forum:
so fdisk /dev/hdd
create the partition(s) you wanted.
assume you create one partition /dev/hdd1
mke2fs /dev/hdd1 this will format your harddiskl
after format, edit your /etc/fstab
/dev/hdd1 /newpart ext3 defaults 1 2
However my HDD is SATA therefore I would replace hdd with sdb. Other than that, does the above look about right?
Yes, but I'd use
|All times are GMT +2. The time now is 14:09.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.