On Tuesday 09 November 2004 21:27, Anders Johansson wrote:
On Tuesday 09 November 2004 21:58, David James Pettifor wrote:
Hi,
I'm looking for some advice with regards using a second hard disk with SUSE Linux Professional 9.1. So far I have carried out the following. Logged in as root user and partitioned my new hard disk with fdisk, using the command fdisk /dev/hdb1. I then formatted the partition with the following command, mke2fs /dev/hdb1.
Why do you use ext2 as a file system. Why not at least ext3, or xfs, or reiserfs? (format with mkfs.ext3, mkfs.xfs or mkfs.reiserfs respectively)
What I want to know now, is how I go about mounting the drive? I want the second hard drive to act as extra space for my own documents, such as mp3's, photos, movie files etc.
Decide where you want your new drive to be accessed. For example /data or /usr/local/data or /mnt/data, or whatever. When you've decided, create the directory with "mkdir /data" (or whatever you decide on), then mount it with "mount /dev/hdb1 /data".
to make it mount automatically on boot, add a new line to /etc/fstab with something like
/dev/hdb1 /data ext2 defaults 1 2
Change ext2 to ext3, reiser or xfs if you decide to go with one of them instead (I highly recommend it) Thanks for the thorough response Anders. Could you please enlighten me as to which of the advised formats you think I should use and why? -- David
.~. / ^ \ /| |\ simply change .\ /. .^.