OpenBSD disk on FreeBSD.
R. Clayton
rvclayton at verizon.net
Sun Jan 8 22:13:53 UTC 2012
Thanks for your reply to my message.
you can address the partitions on that slice (da0s4) like you would access them
on FreeBSD.
"mount /dev/da0s4a" didn't work. However, looking in dmesg I saw
WARNING: R/W mount of /mnt/backups denied. Filesystem is not clean - run fsck
After running "fsck -t ufs /dev/da0s4", "mount /dev/da0s4a" still didn't
work, but
# mount /dev/da0s4 mnt
did work:
# cat mnt/angkor-wat/etc/fstab
# fs-spec mount-point type options frequency pass-no
/dev/wd0a / ffs rw 1 1
/dev/wd0h /home ffs rw,nodev,nosuid 1 2
/dev/wd0d /tmp ffs rw,nodev,nosuid 1 2
/dev/wd0g /usr ffs rw,nodev 1 2
/dev/wd0e /var ffs rw,nodev,nosuid 1 2
/dev/sd0a /mnt/backups ffs rw,nodev,nosuid 1 2
/dev/sd0d /mnt/storage ffs rw,nodev,nosuid 1 2
/dev/cd0a /cdrom cd9660 ro,noauto 0 0
#
However, I can only mount the sd0a (OpenBSD) partition; the sd0d partition is
nowhere to be found:
$ sudo fsck -t ufs /dev/da0s4d
** /dev/da0s4d
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ufs: /dev/da0s4d: can't read disk label
$
On the other hand,
$ sudo fsck -t ufs /dev/da0s4a
** /dev/da0s4a
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ufs: /dev/da0s4a: can't read disk label
$
so maybe the partition names are wrong.
More information about the freebsd-questions
mailing list