Mailinglist Archive: opensuse (3964 mails)

< Previous Next >
Re: [SLE] Help with mounting of second hard drive
  • From: Dylan <dylan@xxxxxxxxxxx>
  • Date: Tue, 9 Nov 2004 21:41:16 +0000
  • Message-id: <200411092141.16151.dylan@xxxxxxxxxxx>
On Tuesday 09 Nov 2004 21:27 pm, 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,

Maybe he did use ext3 - mke2fs deals with both.

> or xfs,
> or reiserfs? (format with mkfs.ext3, mkfs.xfs or mkfs.reiserfs
> respectively)

To avoid boot-time module issues, maybe?

>
> > 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)

--
"I see your Schwartz is as big as mine"
                                  -Dark Helmet

< Previous Next >
Follow Ups