Adding 9.1 disk to 10.2 machine
Polytropon
freebsd at edvax.de
Wed Oct 28 12:09:10 UTC 2015
Your command output of
On Wed, 28 Oct 2015 22:58:00 +1100, Ian Fitzgerald wrote:
> gpart show:
> [...]
> => 63 1953525105 ada1 MBR (932G)
>
> 63 1953525105 1 freebsd [active] (932G)
and
> gpart list:
> [...]
> Geom name: ada1
> [...]
> scheme: MBR
>
> Providers:
>
> 1. Name: ada1s1
> [...]
indicate an MBR-style partitioned disk, containing one slice
("DOS primary partition") being formatted as a whole file system,
therefore /dev/ada1s1c is the correct device name, and as 'c' can
be omitted, /dev/ada1s1 is the device to mount.
Checking with the old-fashioned tools fdisk and bsdlabel, you
could have obtained the same information, but using gpart is
much easier (and also recommended today).
> Therefore, #mount -t ufs /dev/ada1s1 /disk2 mounted without apparent error,
> and adding
>
> /dev/ada1s1 /disk2 ufs rw 2
> 2
>
> to /etc/fstab
>
>
>
> has made the disk available at /disk2.
Correct.
> Are there any potential hazards with doing this?
No, it's the proper approach to mounting such a disk for read and
write operations. (If you only want to read from it, use "ro" instead
of "rw" in the option field.)
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list