Last login: Thu Oct 6 12:49:40 2005 from s222.osi-tech.com [root@osi-150 root]# df -h Filesystem Size Used Avail Use% Mounted on /dev/hda1 3.9G 3.0G 758M 80% / /dev/hda5 29G 19G 9.4G 66% /home none 1008M 0 1008M 0% /dev/shm /dev/hda3 2.0G 200M 1.7G 11% /var [root@osi-150 root]# cat /etc/fstab LABEL=/ / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 LABEL=/home /home ext3 defaults 1 2 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 LABEL=/var /var ext3 defaults 1 2 /dev/hda2 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 [root@osi-150 root]# [root@osi-150 root]# [root@osi-150 root]# fdisk /dev/hda The number of cylinders for this disk is set to 4865. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/hda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 510 4096543+ 83 Linux /dev/hda2 511 765 2048287+ 82 Linux swap /dev/hda3 766 1020 2048287+ 83 Linux /dev/hda4 1021 4865 30884962+ f Win95 Ext'd (LBA) /dev/hda5 1021 4865 30884931 83 Linux Command (m for help): Command (m for help): q [root@osi-150 root]# [root@osi-150 root]# parted GNU Parted 1.6.3 Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This program is free software, covered by the GNU General Public License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Using /dev/hda Information: The operating system thinks the geometry on /dev/hda is 4865/255/63. Therefore, cylinder 1024 ends at 8032.499M. (parted) (parted) print Disk geometry for /dev/hda: 0.000-38166.679 megabytes Disk label type: msdos Minor Start End Type Filesystem Flags 1 0.031 4000.561 primary ext3 boot 2 4000.562 6000.842 primary linux-swap 3 6000.842 8001.123 primary ext3 4 8001.123 38162.219 extended lba 5 8001.154 38162.219 logical ext3 (parted) (parted) (parted) (parted) q Information: Don't forget to update /etc/fstab, if necessary. [root@osi-150 root]# [root@osi-150 root]# [root@osi-150 root]# free total used free shared buffers cached Mem: 2063976 360968 1703008 0 20932 209296 -/+ buffers/cache: 130740 1933236 Swap: 2048276 0 2048276 [root@osi-150 root]# [root@osi-150 root]# free -m total used free shared buffers cached Mem: 2015 352 1663 0 20 204 -/+ buffers/cache: 127 1887 Swap: 2000 0 2000 [root@osi-150 root]# [root@osi-150 root]#