Re: Hardware RAID df output...




"Helmut Schneider" <jumper99@xxxxxx> wrote in message
news:5glpp4F3h2llpU1@xxxxxxxxxxxxxxxxxxxxx
Jason Rangle <jjrangle@xxxxxxxxxxx> wrote:
I'm brand new to FreeBSD and unix for that matter. I don't think I
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.

You should be able to fix it in /etc/fstab. Just replace ad4 with ar0.
Test it with /tmp, unmount it, replace the string in /etc/fstab and then
"mount -a". If everything is fine, there you go.

HTH, Helmut

--
Please do not feed my mailbox, Swen still does his job well


Sorry for my lack of RTFM'ing... I'm still an uber-noob. What do you mean by
"test it with /tmp"? Like umount /tmp then mount /tmp to ar0s1e?

And if I can see the same stuff I did before the umount then I can assume
it's fixed?

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? I hear that unix doesn't have to reboot but it doesn't make
sense to me that I will be in / and I umount at the same time.

Thanks!


.



Relevant Pages

  • Kernel panic while boot, possibilities to get box up again
    ... sure, we will need them sooner or later, and I only want to reboot once. ... the support what's up. ... would it be possible to keep the partitions ... I'm sure you're familiar with your mount points and sizes you give your ...
    (freebsd-questions)
  • Re: changing /home location
    ... and reboot to try it out. ... time by doing a umount on the new volume and deleting all the stuff in /home ... Then mount the new volume again. ... > hdb, so when I create any user on my system, his/her data (including his ...
    (linux.redhat)
  • Re: Under Suse, changing /etc/fstab doesnt work ;-(
    ... On Sat, 12 Nov 2005, James Knott wrote:- ... Also you don't have to reboot. ... Can you mount them manually? ... it means that the directories that these partitions should ...
    (alt.os.linux.suse)
  • Re: Cant umount when busy
    ... On Mon, 31 May 2004, Frank Reichenbacher wrote: ... > created the partitions, set up the filesystems as needed, and then made ... > the directories for the mount points. ... Man umount says it ...
    (RedHat)
  • Cant umount when busy
    ... I'm trying to get mirrordir to work on a new second hard drive. ... created the partitions, set up the filesystems as needed, and then made ... the directories for the mount points. ... Man umount says it ...
    (RedHat)