Possible solution to random crashes
Don Levey
lug-TwWeWiF2EGRi+ztankeudA at public.gmane.org
Wed Sep 24 08:45:45 EDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jerry Feldman wrote:
> Don't use fdisk alone to resize a Linux partition. To shrink a Linux
> partition, you first must shrink the file system, then use fdisk. It is
> better to use a tool, sich as gparted or qtparted that will do both.
> There is an resize2fs for ext2/3.
>
> One possibility for you is to reformat the swap partition by first
> turning swap off with swapoff, then use mkswap on that partition. Did
> you my any chance change the size of the swap partition?
> But, this also might be an indication of an impending disk failure. In
> any case, I would reformat the existing swap partition and see if there
> is a recurrence.
>
Jerry,
On /dev/sda there is/was nothing of any value except the /boot
partition; the partition I wanted to resize was NTFS-based. Wiping it
was no big deal.
I'd not considered reformatting the /dev/sdb-based swap partition, but I
may do that. I currently have swap running on /dev/sda, but it is too
soon to tell if this resolves the problem. I will probably do the
reformat and switch between the two to see what (if anything) happens.
Thanks!
-Don
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFI2jZ5iVR8AmYXiFARApdYAJ9tbgurf5OZxPYdlUvVk+3h8hAA+QCfaS+f
LKCN3OOWj0fhfvclAgc4ybc=
=d9ok
-----END PGP SIGNATURE-----
More information about the Discuss
mailing list