Re: Hardware RAID df output...
- From: "Helmut Schneider" <jumper99@xxxxxx>
- Date: Wed, 25 Jul 2007 10:30:48 +0200
Jason Rangle <jjrangle@xxxxxxxxxxx> wrote:
"Helmut Schneider" <jumper99@xxxxxx> wrote in message
news:5glpp4F3h2llpU1@xxxxxxxxxxxxxxxxxxxxx
Jason Rangle <jjrangle@xxxxxxxxxxx> wrote:Sorry for my lack of RTFM'ing... I'm still an uber-noob. What do you
I'm brand new to FreeBSD and unix for that matter. I don't think IYou should be able to fix it in /etc/fstab. Just replace ad4 with ar0.
installed FreeBSD correctly on my hardware RAID 1. Here is my df -h
and dmesg output. It seems like I should be showing the partitions
installed on ar0 rather than ad4.
acd0: CDROM <SAMSUNG CD-ROM SC-152C/CS05> at ata1-master PIO4
ad4: 76319MB <Seagate ST380011A 3.06> at ata2-master UDMA100
ad5: 76319MB <Seagate ST380011A 3.06> at ata2-slave UDMA100
ar0: 76318MB <Silicon Image Medley RAID1> status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad5 at ata2-slave
test-fbsd# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad4s1a 496M 58M 398M 13% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad4s1e 496M 12K 456M 0% /tmp
/dev/ad4s1f 69G 2.1G 61G 3% /usr
/dev/ad4s1d 1.4G 13M 1.3G 1% /var
Did I screw it up? If so, is there a way to "fix" it with dd or
something? Thanks for the non-flame comments.
Test it with /tmp, unmount it, replace the string in /etc/fstab and then
"mount -a". If everything is fine, there you go.
mean by "test it with /tmp"? Like umount /tmp then mount /tmp to ar0s1e?
Yes.
Go to /etc/fstab, change /dev/ad4s1e to /dev/ar0s1e.
# umount /tmp
# mount -a (or do a 'mount /dev/ad0s1e /tmp', 'mount -a' reads /etc/fstab
and checks for filesystems not mounted yet)
And if I can see the same stuff I did before the umount then I can assume
it's fixed?
If /tmp mounts fine and df -h shows /tmp mounted to your array then the rest
will do so, too.
Then change all the mounts in /etc/fstab then issue 'mount -a.' Last
question: can I do the mount -a while I'm logged in? Or would it be
better to just reboot?
Unless as you are not in single user mode you can't do a 'mount -a' on all
your file systems. So reboot. Checking with /tmp just ensures that the
machine will come up again.
--
Please do not feed my mailbox, Swen still does his job well
.
- References:
- Hardware RAID df output...
- From: Jason Rangle
- Re: Hardware RAID df output...
- From: Helmut Schneider
- Re: Hardware RAID df output...
- From: Jason Rangle
- Hardware RAID df output...
- Prev by Date: Re: Hardware RAID df output...
- Next by Date: xorg 7.2 "Cannot move old logfile" problem
- Previous by thread: Re: Hardware RAID df output...
- Next by thread: Re: Hardware RAID df output...
- Index(es):
Relevant Pages
|