Re: Harddisk Problem

From: Simon (simon_at_optinet.com)
Date: 10/11/03

  • Next message: Putinas: "Re: Harddisk Problem"
    To: "freebsd-isp@freebsd.org" <freebsd-isp@freebsd.org>, "PsYxAkIaS (FreeBSD)" <freebsd@psyxakias.com>
    Date: Sat, 11 Oct 2003 01:50:20 -0400
    
    

    Here is why:

    manufacturers consider 1GB = 1,000,000,000 bytes, so 80gb drive
    is really 80,000,000,000 / 1024 / 1024 / 1024 = 74.5GB Now,
    why you get 68 usable space out of 73gb? 8% of usable space
    is held back by freebsd due to performance issues. You can
    change this to 0%, but it is not suggested. If you still want to,
    read man tunefs, option -m

    -Simon

    On Sat, 11 Oct 2003 00:29:55 +0300, PsYxAkIaS (FreeBSD) wrote:

    >Hello,
    >
    >We just installed and mounted a 2nd HDD(secondary ide channel) on a Dedicated Server on FreeBSD 4.8 and look what it gives:
    >
    >] df
    >Filesystem 1K-blocks Used Avail Capacity Mounted on
    >/dev/ad0s1a 2015918 52114 1802532 3% /
    >/dev/ad0s1f 22479870 16924774 3756708 82% /usr
    >/dev/ad0s1e 4031950 73418 3635976 2% /var
    >procfs 4 4 0 100% /proc
    >/dev/ad2s1e 76958474 4 70801794 0% /drive2
    >
    >] df -h
    >Filesystem Size Used Avail Capacity Mounted on
    >/dev/ad0s1a 1.9G 51M 1.7G 3% /
    >/dev/ad0s1f 21G 16G 3.6G 82% /usr
    >/dev/ad0s1e 3.8G 72M 3.5G 2% /var
    >procfs 4.0K 4.0K 0B 100% /proc
    >/dev/ad2s1e 73G 4.0K 68G 0% /drive2
    >
    >] cat /etc/fstab
    ># See the fstab(5) manual page for important information on automatic mounts
    ># of network filesystems before modifying this file.
    >#
    ># Device Mountpoint FStype Options Dump Pass#
    >/dev/ad0s1b none swap sw 0 0
    >/dev/ad0s1a / ufs rw 1 1
    >/dev/ad0s1f /usr ufs rw 2 2
    >/dev/ad0s1e /var ufs rw 2 2
    >/dev/acd0c /cdrom cd9660 ro,noauto 0 0
    >proc /proc procfs rw 0 0
    >/dev/ad2s1e /drive2 ufs rw 2 2
    >
    >The problem is that from 73GB (80gb hdd) it only sees free 68GB.
    >
    >How can i check if it has bad sectors? A friend suggested me low-level format but I never done that before under unix.
    >
    >Also, do i need to be in single-user (I dont have physical access, only remote root via ssh).
    >
    >
    >Thank you.
    >_______________________________________________
    >freebsd-isp@freebsd.org mailing list
    >http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    >To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    >

    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Putinas: "Re: Harddisk Problem"

    Relevant Pages

    • Re: Filesystem sizes
      ... Geezer From The Freezer wrote: ... > the USABLE space! ... You can get close by assuming some overhead beyond the filesystem size. ...
      (comp.unix.solaris)
    • Re: Simple BSD Backup System
      ... simple system for doing a backup of my installation in FreeBSD. ... operation on one filesystem. ... needs particular support for a particular filesystem. ...
      (comp.unix.bsd.freebsd.misc)
    • [Full-Disclosure] FreeBSD Security Advisory FreeBSD-SA-04:01.mksnap_ffs
      ... For general information regarding FreeBSD Security Advisories, ... Mounted filesystems can have a variety of flags set on them. ... The mksnap_ffscommand creates a `snapshot' of a filesystem. ...
      (Full-Disclosure)
    • FreeBSD Security Advisory FreeBSD-SA-04:01.mksnap_ffs
      ... For general information regarding FreeBSD Security Advisories, ... Mounted filesystems can have a variety of flags set on them. ... The mksnap_ffscommand creates a `snapshot' of a filesystem. ...
      (FreeBSD-Security)
    • [FreeBSD-Announce] FreeBSD Security Advisory FreeBSD-SA-04:01.mksnap_ffs
      ... For general information regarding FreeBSD Security Advisories, ... Mounted filesystems can have a variety of flags set on them. ... The mksnap_ffscommand creates a `snapshot' of a filesystem. ...
      (freebsd-announce)