Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jan 2012 16:13:38 -0500 (EST)
From:      rvclayton@verizon.net (R. Clayton)
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: OpenBSD disk on FreeBSD.
Message-ID:  <20120108211338.AD33F5DC4@UlanBator.myhome.westell.com>
In-Reply-To: <20120108205137.a0bf2877.freebsd@edvax.de> (message from	Polytropon on Sun, 08 Jan 2012 20:51:37 %2B0100)
References:  <87zkdy6kxi.fsf@UlanBator.myhome.westell.com> <20120108205137.a0bf2877.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
  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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120108211338.AD33F5DC4>