Mates,
Here is a little more information. Parted says the OS sees the wrong
disk geometry:
skyline:~ # parted -i /dev/hdb
GNU Parted 1.6.6
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 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/hdb
Information: The operating system thinks the geometry on /dev/hdb is
2491/255/63. Therefore, cylinder 1024 ends at 8032.499M.
(parted)
What gives??
(parted) print
Disk geometry for /dev/hdb: 0.000-19541.812 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 19539.997 primary reiserfs type=83
What do I need to do to have the OS see the right geometry??
--
David C. Rankin, J.D., P.E.
RANKIN LAW FIRM, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankin-bertin.com
--
----- Original Message -----
From: "david rankin"
Mates,
I needed to wipe /dev/hdb and start over. What I did was to:
umount /data fdisk /dev/hdb (delete old partitions and added new partition to use whole disk) mkfs.reiserfs
then rebooted
Now df reports:
skyline:~ # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 19526404 8610112 10916292 45% / tmpfs 127948 0 127948 0% /dev/shm /dev/hdb1 514028 32840 481188 7% /data
The weird part is hda and hdb are exactly the same size. Where did I go wrong?? Do I need to fdisk, then reboot, then mkfs.reiserfs?? Does it make a difference?? fstab is as follows:
skyline:~ # cat /etc/fstab /dev/hda2 / reiserfs defaults 1 1 /dev/hda1 swap swap pri=42 0 0 #/dev/hdb1 /data reiserfs defaults 1 2 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 /dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0
-- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com --
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com