PDA

View Full Version : FreeBSD mount problem



TurnOFF
03-02-2007, 04:51 PM
anyone familiar with FreeBSD?
I have a FreeBSD 6.1 system installed on /dev/ad0 and I have /dev/ad1 that I use as a storage unit. I've created two ufs partitions on /dev/ad1 ad1s1 and ad1s2 using sysinstall->configure->Fdisk. than I did

newfs -O 2 /dev/ad1s1

than I could mount both partitions
with
mount /dev/ad1s1 /home/disk1
mount /dev/ad1s2 /home/disk2

successfully.however,I had to reboot the machine few days ago and after I tried to mount those partitions to the same mount points I've got
"Operation not permitted" message(I did it under root)
when I ran fsck it gave me "Could not determine filesystem type"

What am I doing wrong?
Thanks for your help.

PS. those partitions aren't in the /etc/fstab ,neither already mounted.

Yura717
03-06-2007, 05:50 PM
anyone familiar with FreeBSD?
I have a FreeBSD 6.1 system installed on /dev/ad0 and I have /dev/ad1 that I use as a storage unit. I've created two ufs partitions on /dev/ad1 ad1s1 and ad1s2 using sysinstall->configure->Fdisk. than I did

newfs -O 2 /dev/ad1s1

than I could mount both partitions
with
mount /dev/ad1s1 /home/disk1
mount /dev/ad1s2 /home/disk2

successfully.however,I had to reboot the machine few days ago and after I tried to mount those partitions to the same mount points I've got
"Operation not permitted" message(I did it under root)
when I ran fsck it gave me "Could not determine filesystem type"

What am I doing wrong?
Thanks for your help.

PS. those partitions aren't in the /etc/fstab ,neither already mounted.
Since encrypted file systems cannot yet be listed in /etc/fstab for
automatic mounting, the file systems must be checked for errors by
running fsck(8) manually before mounting.

# fsck -p -t ffs /dev/ad4s1c.bde