Adding second hard drive and file system questions.

Adding second hard drive and file system questions.

Post by Yang-Cheng Hsi » Sun, 05 May 1996 04:00:00



Hi:

I just bought a new hard drive for my linux.
But I had problem in loading file system on it.

This was how I did it. First, I partition this
hard drive, and then I added a line in /etc/fstab
to make it load a new file system(/usr2) on the
new partion(/hdb/hd#) on the new hard drive.
But when I re-booted it, I got error messages
saying that my superblock info was messed up,
and therefore it tried to use the old one...

Can anyone tell me what I did wrong? What's the
correct way to do this? Please email me your
advice. I'll very appreciate it!!

Yang-Cheng

 
 
 

Adding second hard drive and file system questions.

Post by Bruce Toml » Sun, 05 May 1996 04:00:00



Quote:>Hi:
>I just bought a new hard drive for my linux.
>But I had problem in loading file system on it.
>This was how I did it. First, I partition this
>hard drive, and then I added a line in /etc/fstab
>to make it load a new file system(/usr2) on the
>new partion(/hdb/hd#) on the new hard drive.
>But when I re-booted it, I got error messages
>saying that my superblock info was messed up,
>and therefore it tried to use the old one...

Did you remember to run mke2fs to format the partition?

 
 
 

1. Adding a second hard drive -- file system layout advice?

I'll be getting a second drive (IDE) for my machine in a couple of days,
and am trying to decide how best to make use of it with FreeBSD.  For
starters, here's my current setup:

1.6 gig IDE drive on wdc0
CD-ROM on wdc1 (wcd0)

I'm using the Boot Manager on wd0, with DOS/Win95 in the first partition
and FreeBSD in the second.  At this time, of course, *all* of my FreeBSD
stuff is on this partition (root, swap and usr slices).

Ideally, I'd like to dedicate the entire new drive to FreeBSD, and move
all my existing FreeBSD stuff to the new (3.2 gig!) drive (which will be
slaved on wdc0 as wd1), but I'm not sure if it will be possible to
automatically boot into this.  Is this possible?  Would it make a
difference if I mastered it instead?

If the above is not possible, what then would be the best way to install
the drive into the current file system, so that, for instance, pkg_add and
other automated installers will use the new, roomier drive?  Should I
maybe just move the usr slice over to the new drive and leave everything
else where it is?

As you can see, I'm in a bit of a conundrum over this.  I want to be sure
to make the best choice when I install the drive so I don't have to go
back and redo it later.

Thanks very much for any ideas!
--
Conrad Sabatier -- http://www.neosoft.com/~conrads

2. Limiting traffic with ipfw

3. adding a second hard drive to a blade system

4. Korn shell problem (command editing buffer)

5. Newbie Question: How to add a second hard drive?

6. SMI LynxEM graphics chip

7. Adding a Tape Drive or Second Hard Drive

8. 66 to 100 GB Raid Under $5k

9. Adding additional hard drive space to current file system

10. How to merge two hard drive into one logical hard drive for Linux

11. Large IDE Hard Drive as a Second Hard Drive

12. Two hard drives to a single hard drive

13. Adding a second Hard Drive in Linux [HELP!!!]