My server (a Debian GNU/Linux Wheezy running ZFSOnLinux GIT master, sharing
ZVOLs to VMs on another host) have two SuperMicro AOC-SAS2LP-MV8 (Marvel
88SE9485) SAS cards with is driven by the "mvsas" driver. That driver is a
piece of crap and under heavy load it crashes the machine. The driver isn't
really maintained any more either, which complicates things further.
After it (the server) comes up again and shares all the targets, the
machine running all the VMs have had it's primary filesystem for VM config
files etc remounted read-only. All VMs (Oracle, previously Sun, VirtualBox)
have all their storage directly attached to the targets so no virtual disk
is on the target fs, only their configs.
Trying to remount the filesystem gives:
Negotia:~# touch /Machines/Machines/x
touch: cannot touch `/Machines/Machines/x': Read-only file system
Negotia:~# umount /Machines/Machines
umount: /Machines/Machines: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
Negotia:~# mount -o remount,rw /Machines/Machines
mount: cannot remount block device /dev/sdc1 read-write, is
write-protected
Negotia:~# ll
/dev/disk/by-path/ip-192.168.69.8\:3260-iscsi-iqn.2012-11.com.bayour\:share.virtualmachines.negotia.machines-lun-0-part1
lrwxrwxrwx 1 root root 10 May 31 13:58
/dev/disk/by-path/ip-192.168.69.8:3260-iscsi-iqn.2012-11.com.bayour:share.virtualmachines.negotia.machines-lun-0-part1
-> ../../sdc1
Negotia:~# mount | grep sdc1
/dev/sdc1 on /Machines/Machines type ext4
(ro,relatime,user_xattr,barrier=1,stripe=128,data=ordered,_netdev)
The only to resolve this (that I've been able to find) is to kill all the
VMs that "locks" the device, unmount it, fsck it and then mount it again.
This, of course, isn't very nice. It interrupts the running of the VMs
(which is Paused by VBox as soon as it sees that it can't write to the
config etc). So if there's another way to resolve this, I'd be happy.
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.