View Single Post
Old 13th July 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

You don't edit label "c".
Label "c" is a virtual label, containing the size of the slice. The sizes of each "c" label should be the same as reported by fdisk

To be able to mount labels "d" of slice 1 and 2, they need to contain a filesystem, in other words they need to be formatted.
Code:
# newfs /dev/ad4s1d
# newfs /dev/ad4s2d
WARNING: this will destroy any data that these "d" partitions may contain.

After the newfs, you should be able to mount these "d' partitions manually
Code:
# mount /dev/ad4s1d /mnt
You now should be able to run
Code:
df -h
and see the size and other stats of this "d" partition.

I would suggest to create two directories, unmount the currently mounted one (ad4s1d), and manually mount on these directories
Code:
# mkdir -p /350gb /50gb
# umount /mnt
# mount /dev/ad4s1d /350gb
# mount /dev/ad4s2s /50gb
Rerun mount and df -h commands to check. Only when everything is OK, only then modify "/etc/fstab" and reboot
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote