Dsk status question
Sasa Stupar
sasa at stupar.homelinux.net
Sat Oct 8 00:14:21 PDT 2005
Hi!
On my FBSD 5.4 I have added second disk via sysinstall and with label
/disk2. I can access it normally but what bothers me that on daily Disk
status it shows me only the status for the first disk and not that second
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
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
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=79656 heads=16 sectors/track=63 (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=79656 heads=16 sectors/track=63 (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=77536 heads=16 sectors/track=63 (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=77536 heads=16 sectors/track=63 (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
in /etc/fstab?
Regards,
Sasa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051008/a133a1ab/attachment-0001.bin
More information about the freebsd-questions
mailing list