shrink partition with fdisk
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I just used resize_reiserfs to shrink a reiserfs partition. It worked
fine, and df is reporting the device size that I expected. However,
fdisk still reports the old size. How can I shrink the partition in
fdisk so it reports the correct size, without harming the contents of
the device? I'm assuming that if I simply delete the partition in
fdisk, and then re-create it smaller, my data will be lost.
Some info:
ReiserFS report:
blocksize 4096
block count 524288 (8753409)
free blocks 296960 (8525829)
bitmap block count 16 (268)
% df /dev/hdb7
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdb7 2097084 909244 1187840 44%
/home/bs7452/docs/mp3
fdisk
Device Boot Start End Blocks Id System
/dev/hdb7 3118 7476 35013636 83 Linux
- --
Brian J. Stults Department of Sociology
phone: (352) 392-0265 x286 University of Florida
fax: (352) 392-6568 Gainesville, Florida 32611-7330
pgp: http://clas.ufl.edu/~bstults/bstults.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE9l4LTqmqY2oJw4kkRAjlgAJ9WGbO1eG+0uWqeBiCfOq3IYPn4CACfUaX0
jstDoyMhf3mcaNcuM3N4ws4=
=0XZr
-----END PGP SIGNATURE-----
Reply to: