[pve-devel] [PATCH] migrate: syncdisk : avoid scanning shared storage

Alexandre DERUMIER aderumier at odiso.com
Tue Jul 17 12:38:18 CEST 2012


Thanks, 
but the main problem was when it's already mounted. (listing vm files by exemple)
Not sure it can help in this case ?

I've done test with iscsi too, I have see a lot of "qemu-img info" process hanging in uninterruptible D state, and pvedaemon hanging.

I'll do more extensive test this week, with nfs and iscsi, to see what problem can occur when storage hang and doesn't timeout.





----- Mail original ----- 

De: "Michael Rasmussen" <mir at datanom.net> 
À: pve-devel at pve.proxmox.com 
Envoyé: Lundi 16 Juillet 2012 18:31:33 
Objet: Re: [pve-devel] [PATCH] migrate: syncdisk : avoid scanning shared storage 

On Mon, 16 Jul 2012 17:45:17 +0200 (CEST) 
Alexandre DERUMIER <aderumier at odiso.com> wrote: 

> 
> Maybe pinging the nfs server, before sending command (ls,rm,...) is the b> 
A suggestion: Try a soft mount first if that succeeds the do a hard 
mount. E.g 

mount -o soft,nfs host:/some/nfs/mount /some/mount/point 
[ $? -eq "0" ] || exit 1 

touch /some/mount/point/.test 
find /some/mount/point -name '.test' 
if [ $? -ne "0" ]; then 
umount -f /some/mount/point 
exit 2 
else 
mount -o nfs host:/some/nfs/mount /some/mount/point 
..... 
fi 

exit 0 

-- 
Hilsen/Regards 
Michael Rasmussen 

Get my public GnuPG keys: 
michael <at> rasmussen <dot> cc 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E 
mir <at> datanom <dot> net 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C 
mir <at> miras <dot> org 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917 
-------------------------------------------------------------- 

_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



-- 

-- 



	

Alexandre D e rumier 

Ingénieur Systèmes et Réseaux 


Fixe : 03 20 68 88 85 

Fax : 03 20 68 90 88 


45 Bvd du Général Leclerc 59100 Roubaix 
12 rue Marivaux 75002 Paris 



More information about the pve-devel mailing list