From owner-freebsd-isp@FreeBSD.ORG Fri Oct 10 14:29:33 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DBE716A4D5 for ; Fri, 10 Oct 2003 14:29:33 -0700 (PDT) Received: from web1.subnetmask.net (web1.subnetmask.net [207.44.145.30]) by mx1.FreeBSD.org (Postfix) with SMTP id B71D543FE0 for ; Fri, 10 Oct 2003 14:29:28 -0700 (PDT) (envelope-from freebsd@psyxakias.com) Received: (qmail 16371 invoked from network); 10 Oct 2003 21:29:26 -0000 Received: from unknown (HELO computer) (212.251.108.81) by web1.subnetmask.net with SMTP; 10 Oct 2003 21:29:26 -0000 Message-ID: <001701c38f75$aa4b19e0$dec2fea9@computer> From: "PsYxAkIaS (FreeBSD)" To: Date: Sat, 11 Oct 2003 00:29:55 +0300 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Harddisk Problem X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2003 21:29:33 -0000 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=20 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.