You are not logged in.
Pages: 1
Hello all,
If I try shutting arch down, the process just hangs at "Deeactivating swap......................[BUSY]". I waited for around 10 minutes before turning the power off.
Does anyone know why it happens and what I should do to correct it?
Thanks,
Isomorphism
Offline
every time or just randomly? Can you post the output of your fdisk, df -k and the contents of /etc/fstab?
Offline
every time or just randomly? Can you post the output of your fdisk, df -k and the contents of /etc/fstab?
Actually it happens randomly
Here is the output of my fdisk, df -k and the contents of /etc/fstab...
[spai@L ~]$ fdisk df -k
fdisk: invalid option -- k
Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
[spai@L ~]$ cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
/dev/sda1 / ext3 defaults 0 1
/dev/sda2 swap swap defaults 0 0
/dev/sda3 /home ext3 defaults 0 1
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 ro,user,noauto,unhide 0 0
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0
/dev/fd0 /mnt/fd0 vfat user,noauto 0 0
Thanks for insight,
Isomorphism
Last edited by Isomorphism (2008-05-04 17:19:07)
Offline
$ fdisk df -k
sorry, I should have been clearer... "df -k" is one command that should be run at a terminal... the fdisk command is (as root) "fdisk -l /dev/sda" (assuming your disk is sda (and that flag is an 'ell', not a 'one') and should also be run at a terminal
Offline
Ok.. here it is
[spai@L ~]$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 14421344 3366056 10322728 25% /
/dev/sda3 61827008 53888456 4797848 92% /home
none 119004 0 119004 0% /dev/shm
[spai@L ~]$ sudo fdisk -l /dev/sda
Password:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc49fc49f
Device Boot Start End Blocks Id System
/dev/sda1 1 1824 14651248+ 83 Linux
/dev/sda2 1825 1909 682762+ 83 Linux
/dev/sda3 1910 9729 62814150 83 Linux
Last edited by Isomorphism (2008-05-04 17:31:44)
Offline
not sure if it is the problem, but your line for sda2 in fdisk should probably be system type "linux swap" not "linux"... id 82 instead of 83. You can change it in fdisk
Offline
Pages: 1