- Type fdisk -l to display the list of HDD in your system.
- Type fdisk /dev/hdb to create a partition on your second drive (in this case hdb). Select P for primary partition, 1 for Partition number and Hex Code 83 (for Linux file system). At the end type W to write the partition.
- Type mkfs.ext3 -b 4096 /dev/hdb1 to create a filesystem to that partition. Follow prompts.
- Type sudo mkdir /mnt/DataDrive to create a mounting point call DataDrive (or any other label you see fit).
- Type mount /dev/sdb1 /mnt/DataDrive to mount the DataDrive.
- Type nano /etc/clearos/flexshare.conf to edit the configuration file that controls the flexshares.
- Find the line that shows FlexshareDirCustom and change it to FlexshareDirCustom==Disk1:/mnt/DataDrive/ to make permanent the change. Press Control+X to exit nano. It will ask you if you want to save. Say Yes.
Showing posts with label ClearOS second drive. Show all posts
Showing posts with label ClearOS second drive. Show all posts
Tuesday, September 18, 2012
Add a second HDD to ClearOS
Connect to the console on ClearOS.
Subscribe to:
Posts (Atom)

