Dsk status question

From: Sasa Stupar (sasa_at_stupar.homelinux.net)
Date: 10/08/05

  • Next message: Sasa Stupar: "tunefs problem"
    Date: Sat, 08 Oct 2005 09:14:20 +0200
    To: FreeBSD Q ML <freebsd-questions@freebsd.org>
    
    
    

    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 message: Sasa Stupar: "tunefs problem"

    Relevant Pages

    • RE: Change Tracks Per Sector on system Partition
      ... mirroring system partitions of a cluster to an offsite SAN due to differing ... We cannot physically read the file system boot sector usually at ... If your software mirror a Windows NT/2000/2003 operating system partition ... another disk that is translated as 32spt, ...
      (microsoft.public.windows.server.setup)
    • Re: Uninstall Ubuntu
      ... I want to remove startup Grub, Ubuntu o/s, and reclaim back all my harddrive by removing the partition. ... is that the first sector on the disk, sector 0, has had the code section ... As always, if you do a backup of the entire disk, if this advice doesn't work ... The MBR is a single sector, ...
      (microsoft.public.windowsxp.general)
    • RE: Change Tracks Per Sector on system Partition
      ... >Subject: RE: Change Tracks Per Sector on system Partition ... We cannot physically read the file system boot sector usually at ... >another disk that is translated as 32spt, ...
      (microsoft.public.windows.server.setup)
    • Re: [opensuse] fdisk calculations
      ... I'm revising the partition HOWTO, ... Disk identifier: 0x04030201 ... The Cylinder / Head / Sector concept is an anachronism from the 1980's ... hard drives configured in the factory to have one alignment or the ...
      (SuSE)
    • Re: Hard Drive Issues
      ... I'm assuming that particular sector on the drive is dying, ... Looks like you disk is on its way out, from the look of the above ... bsdlabel and newfs the new disk the way you want it. ... Ignore all the stuff above where it displays the partition information. ...
      (freebsd-questions)