[opensuse] /dev/md0 borked, can't mdadm --stop it, can't swapon /dev/md0
and I'm damned if I can figure-out why. # mdadm --stop /dev/md0 mdadm: fail to stop array /dev/md0: Device or resource busy yeah? why? *nothing* in /etc/fstab is using it! ( I commented-out the swap line ) Personalities : [raid1] [raid0] [raid6] [raid5] [raid4] md3 is alternate-root, not having anything yet. . . md3 : active(auto-read-only) raid1 sda4[0] sdb4[1] 1959916 blocks super 1.0 [2/2] [UU] bitmap: 0/8 pages [0KB], 128KB chunk md1 is lvm with tmp var usr opt & home in it. . . md1 : active raid1 sda2[0] sdb2[1] 64484836 blocks super 1.0 [2/2] [UU] bitmap: 6/246 pages [24KB], 128KB chunk md2 is / md2 : active raid1 sda3[0] sdb3[1] 1959916 blocks super 1.0 [2/2] [UU] bitmap: 3/8 pages [12KB], 128KB chunk md0 is supposed to be swap, but I can't get it to work. . . . . . or stop . . . md0 : active(auto-read-only) raid1 sda1[0] sdb1[1] 4200952 blocks super 1.0 [2/2] [UU] bitmap: 0/9 pages [0KB], 256KB chunk swapon --help usage: swapon [-hV] swapon -a [-e] [-v] swapon [-v] [-p priority] special|LABEL=volume_name ... swapon [-s] swapon /dev/md0 swapon: /dev/md0: Invalid argument Machine - root - 14:39 - Jobs = 0 Is there any other information that could help? What gives with the /dev/md0 being "in use" when nothing is assigned to it? fstab: /dev/md2 / ext3 acl,user_xattr 1 1 /dev/mapper/Machine_VolumeGroup-home /home ext3 acl,user_xattr,nodev,nosuid 1 2 /dev/mapper/Machine_VolumeGroup-opt /opt ext3 acl,user_xattr,nodev 1 2 /dev/mapper/Machine_VolumeGroup-tmp /tmp reiserfs acl,user_xattr,nodev 1 2 /dev/mapper/Machine_VolumeGroup-usr /usr ext3 acl,user_xattr,nodev 1 2 /dev/mapper/Machine_VolumeGroup-var /var ext3 acl,user_xattr,nodev 1 2 /dev/md3 /mnt/root-2 ext3 noauto,acl,user_xattr,nodev,sync 0 0 #/dev/md0 swap swap defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Mar 14, 2008 at 1:43 PM, Antryg Revok
What gives with the /dev/md0 being "in use" when nothing is assigned to it?
try: lsof /dev/md0 -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Antryg Revok
-
Sunny