View Single Post
  #2  
Old 19th February 2008, 07:45
thecaoticone thecaoticone is offline
Member
 
Join Date: Nov 2007
Posts: 89
Thanks: 1
Thanked 18 Times in 16 Posts
Default

Ubuntu comes with fdisk and cfdisk for partitioning hard drives ( cfdisk is a little more user friendly).
Issue the command:

fdisk /dev/sda

or:

cfdisk /dev/sda

replace "sda" with your sata drive.


After the partition(s) are created you will need to format the partition(s) using the type of file system you choose.

ext2 = mke2fs
ext3 = mke2fs -j
reiserfs = mkreiserfs
xfs = mkfs.xfs
jfs = mkfs.jfs


for a reiserfs file system issue the command

mkreiserfs /dev/sda


Then create an entry in your /etc/fstab for the device to be mounted:

/dev/sda /storage reiserfs defaults 0 1


Reboot the system.

Change your ftp set-up to upload files to the /storage partition.

You may need to do a chmod to set permissions for the /storage drive.



More about fstab options can be found here:

http://www.tuxfiles.org/linuxhelp/fstab.html



for fdisk look here:
http://www.dslreports.com/faq/4851

Last edited by thecaoticone; 19th February 2008 at 07:47.
Reply With Quote