Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Oct 2005 09:14:20 +0200
From:      Sasa Stupar <sasa@stupar.homelinux.net>
To:        FreeBSD Q ML <freebsd-questions@freebsd.org>
Subject:   Dsk status question
Message-ID:  <E6EF07B8A736A0991B7B8D7A@[192.168.10.249]>

next in thread | raw e-mail | index | archive | help
--==========19B37E2FD7A1DE363288==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi!

On my FBSD 5.4 I have added second disk via sysinstall and with label=20
/disk2. I can access it normally but what bothers me that on daily Disk=20
status it shows me only the status for the first disk and not that second=20
one:
------------
Disk status:
Filesystem  1K-blocks     Used   Avail Capacity  Mounted on
/dev/ad2s1a  37669550 28025600 6630386    81%    /
devfs               1        1       0   100%    /dev
------------

In my fstab I have:
----------------
# cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump=20
Pass#
/dev/ad2s1b             none            swap    sw              0       0
/dev/ad2s1a             /               ufs     rw              1       1
/dev/acd0               /cdrom          cd9660  ro,noauto       0       0
/dev/acd1               /cdrom1         cd9660  ro,noauto       0       0
----------------

So my second drive isn't listed here but I can still access it without=20
needing to mount it manually.

Some other info:
First disk:
--------------
# fdisk /dev/ad2
******* Working on device /dev/ad2 *******
parameters extracted from in-core disklabel are:
cylinders=3D79656 heads=3D16 sectors/track=3D63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3D79656 heads=3D16 sectors/track=3D63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 80292807 (39205 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
-------------

Second disk:
--------------
# fdisk /dev/ad3
******* Working on device /dev/ad3 *******
parameters extracted from in-core disklabel are:
cylinders=3D77536 heads=3D16 sectors/track=3D63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3D77536 heads=3D16 sectors/track=3D63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 78156162 (38162 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
-------------

How is it possible to mount second disk automatically if it is not listed=20
in  /etc/fstab?

Regards,
Sasa
--==========19B37E2FD7A1DE363288==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFDR3HMbRpqD1cgKf8RAo6AAJ9dmBFp0XPc32rUOONwasayuKp2VgCfbrC3
w5pXejJ0RVgd29HKkNsWX9E=
=GLof
-----END PGP SIGNATURE-----

--==========19B37E2FD7A1DE363288==========--




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