Hi, I get this error when i try to start clvm (debian lenny) : This is a clvm version with openais # /etc/init.d/clvm restart Deactivating VG ::. Stopping Cluster LVM Daemon: clvm. Starting Cluster LVM Daemon: clvmCLVMD[86475770]: Mar 8 11:25:27 CLVMD started CLVMD[86475770]: Mar 8 11:25:27 Our local node id is -1062730132 CLVMD[86475770]: Mar 8 11:25:27 Add_internal_client, fd = 7 CLVMD[86475770]: Mar 8 11:25:27 Connected to OpenAIS CLVMD[86475770]: Mar 8 11:25:27 Cluster ready, doing some more initialisation CLVMD[86475770]: Mar 8 11:25:27 starting LVM thread CLVMD[86475770]: Mar 8 11:25:27 clvmd ready for work CLVMD[40800950]: Mar 8 11:25:27 LVM thread function started CLVMD[86475770]: Mar 8 11:25:27 Using timeout of 60 seconds CLVMD[86475770]: Mar 8 11:25:27 confchg callback. 1 joined, 0 left, 1 members File descriptor 4 left open File descriptor 5 left open File descriptor 6 left open WARNING: Locking disabled. Be careful! This could corrupt your metadata. CLVMD[40800950]: Mar 8 11:25:43 LVM thread waiting for work I need to CTRL-C How can i fix this error. Thank you. -- Guy Roussin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi again, Do you think it''s possible to restore some data from my VG. I can''t access it anymore. When i boot the host, it''s stuck on the error which i have describe. If i move the volume on a another dom0, i can''t access with lvm because this is a clustered VG. Is it possible to downgrade to a non cluster LVM, (remove cluster metadata) without loosing data ? Thank you. Guy> Hi, > > I get this error when i try to start clvm (debian lenny) : > This is a clvm version with openais > > # /etc/init.d/clvm restart > Deactivating VG ::. > Stopping Cluster LVM Daemon: clvm. > Starting Cluster LVM Daemon: clvmCLVMD[86475770]: Mar 8 11:25:27 > CLVMD started > CLVMD[86475770]: Mar 8 11:25:27 Our local node id is -1062730132 > CLVMD[86475770]: Mar 8 11:25:27 Add_internal_client, fd = 7 > CLVMD[86475770]: Mar 8 11:25:27 Connected to OpenAIS > CLVMD[86475770]: Mar 8 11:25:27 Cluster ready, doing some more > initialisation > CLVMD[86475770]: Mar 8 11:25:27 starting LVM thread > CLVMD[86475770]: Mar 8 11:25:27 clvmd ready for work > CLVMD[40800950]: Mar 8 11:25:27 LVM thread function started > CLVMD[86475770]: Mar 8 11:25:27 Using timeout of 60 seconds > CLVMD[86475770]: Mar 8 11:25:27 confchg callback. 1 joined, 0 left, 1 > members > File descriptor 4 left open > File descriptor 5 left open > File descriptor 6 left open > WARNING: Locking disabled. Be careful! This could corrupt your metadata. > CLVMD[40800950]: Mar 8 11:25:43 LVM thread waiting for work > > I need to CTRL-C > > How can i fix this error. Thank you. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
If you get really desparate and don''t mind sorting throught the wreckage. testdisk might be your friend. Download here: http://www.cgsecurity.org/wiki/TestDisk_Download Howto use here: http://itknowledgeexchange.techtarget.com/linux-lotus-domino/recovering-files-from-an-lvm-or-ext3-partition-with-testdisk/ ----- Original Message ----- From: "Guy Roussin" <guy.roussin@teledetection.fr> To: xen-users@lists.xensource.com Sent: Tuesday, 9 March, 2010 2:02:12 AM Subject: Re: [Xen-users] Error with clvm Hi again, Do you think it''s possible to restore some data from my VG. I can''t access it anymore. When i boot the host, it''s stuck on the error which i have describe. If i move the volume on a another dom0, i can''t access with lvm because this is a clustered VG. Is it possible to downgrade to a non cluster LVM, (remove cluster metadata) without loosing data ? Thank you. Guy> Hi, > > I get this error when i try to start clvm (debian lenny) : > This is a clvm version with openais > > # /etc/init.d/clvm restart > Deactivating VG ::. > Stopping Cluster LVM Daemon: clvm. > Starting Cluster LVM Daemon: clvmCLVMD[86475770]: Mar 8 11:25:27 > CLVMD started > CLVMD[86475770]: Mar 8 11:25:27 Our local node id is -1062730132 > CLVMD[86475770]: Mar 8 11:25:27 Add_internal_client, fd = 7 > CLVMD[86475770]: Mar 8 11:25:27 Connected to OpenAIS > CLVMD[86475770]: Mar 8 11:25:27 Cluster ready, doing some more > initialisation > CLVMD[86475770]: Mar 8 11:25:27 starting LVM thread > CLVMD[86475770]: Mar 8 11:25:27 clvmd ready for work > CLVMD[40800950]: Mar 8 11:25:27 LVM thread function started > CLVMD[86475770]: Mar 8 11:25:27 Using timeout of 60 seconds > CLVMD[86475770]: Mar 8 11:25:27 confchg callback. 1 joined, 0 left, 1 > members > File descriptor 4 left open > File descriptor 5 left open > File descriptor 6 left open > WARNING: Locking disabled. Be careful! This could corrupt your metadata. > CLVMD[40800950]: Mar 8 11:25:43 LVM thread waiting for work > > I need to CTRL-C > > How can i fix this error. Thank you. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, This is a multipath lvm, so i use "testdisk /dev/mapper/vms" to try to recover it. There is no partitionning on the disk only one big lvm2. I can see this big lvm with Testdisk (structure correct). I can''t record partitionning because there is no partitionning on this disk. So i think there is no problem with the data. But there is something somewhere that prevent me to access to the lvm2 (cluster metadata?) ... But now, what can i do now to access all the logicals volumes i create on this big lvm ? Thank you James, Guy James Troup a écrit :> If you get really desparate and don''t mind sorting throught the wreckage. > testdisk might be your friend. > > Download here: http://www.cgsecurity.org/wiki/TestDisk_Download > > Howto use here: > http://itknowledgeexchange.techtarget.com/linux-lotus-domino/recovering-files-from-an-lvm-or-ext3-partition-with-testdisk/ > > ----- Original Message ----- > From: "Guy Roussin" <guy.roussin@teledetection.fr> > To: xen-users@lists.xensource.com > Sent: Tuesday, 9 March, 2010 2:02:12 AM > Subject: Re: [Xen-users] Error with clvm > > Hi again, > > Do you think it''s possible to restore some data from my VG. > I can''t access it anymore. When i boot the host, it''s stuck on > the error which i have describe. > > If i move the volume on a another dom0, i can''t access with lvm > because this is a clustered VG. > Is it possible to downgrade to a non cluster LVM, (remove cluster > metadata) without loosing data ? > > Thank you. > > Guy > > > > Hi, > > > > I get this error when i try to start clvm (debian lenny) : > > This is a clvm version with openais > > > > # /etc/init.d/clvm restart > > Deactivating VG ::. > > Stopping Cluster LVM Daemon: clvm. > > Starting Cluster LVM Daemon: clvmCLVMD[86475770]: Mar 8 11:25:27 > > CLVMD started > > CLVMD[86475770]: Mar 8 11:25:27 Our local node id is -1062730132 > > CLVMD[86475770]: Mar 8 11:25:27 Add_internal_client, fd = 7 > > CLVMD[86475770]: Mar 8 11:25:27 Connected to OpenAIS > > CLVMD[86475770]: Mar 8 11:25:27 Cluster ready, doing some more > > initialisation > > CLVMD[86475770]: Mar 8 11:25:27 starting LVM thread > > CLVMD[86475770]: Mar 8 11:25:27 clvmd ready for work > > CLVMD[40800950]: Mar 8 11:25:27 LVM thread function started > > CLVMD[86475770]: Mar 8 11:25:27 Using timeout of 60 seconds > > CLVMD[86475770]: Mar 8 11:25:27 confchg callback. 1 joined, 0 left, 1 > > members > > File descriptor 4 left open > > File descriptor 5 left open > > File descriptor 6 left open > > WARNING: Locking disabled. Be careful! This could corrupt your > metadata. > > CLVMD[40800950]: Mar 8 11:25:43 LVM thread waiting for work > > > > I need to CTRL-C > > > > How can i fix this error. Thank you. > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Guy Roussin UMR TETIS "Territoires, Environnement, Teledetection et Information Spatiale" Maison de la Télédétection en Languedoc Roussillon 500, rue J.F. Breton 34093 MONTPELLIER Cedex 5 tél: 04.67.54.87.46 fax: 04.67.54.87.00 mailto:guy.roussin@teledetection.fr _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I can now access again to my lvm. 1) I remove the word in the file /etc/lvm/backup/vg0 status = ["RESIZEABLE", "READ", "WRITE", "CLUSTERED"] => status = ["RESIZEABLE", "READ", "WRITE"] 2) I downgrade the locking_type in /etc/lvm/lvm.conf locking_type = 3 => locking_type = 1 3) I restore my vg with vgcfgrestore vg0 I can locally use my LVs without problem. *But i can''t anymore use it with clvm* : 1) vgchange -cy vg0 2) locking_type = 3 and when i /etc/init.d/clvm restart i get : Starting Cluster LVM Daemon: clvmCLVMD[91b5c770]: Mar 12 16:38:10 CLVMD started CLVMD[91b5c770]: Mar 12 16:38:10 Our local node id is -1062730132 CLVMD[91b5c770]: Mar 12 16:38:10 Add_internal_client, fd = 7 CLVMD[91b5c770]: Mar 12 16:38:10 Connected to OpenAIS CLVMD[91b5c770]: Mar 12 16:38:10 Cluster ready, doing some more initialisation CLVMD[91b5c770]: Mar 12 16:38:10 starting LVM thread CLVMD[91b5c770]: Mar 12 16:38:10 clvmd ready for work CLVMD[91b5c770]: Mar 12 16:38:10 Using timeout of 60 seconds CLVMD[40800950]: Mar 12 16:38:10 LVM thread function started CLVMD[91b5c770]: Mar 12 16:38:10 confchg callback. 1 joined, 0 left, 1 members File descriptor 4 left open File descriptor 5 left open File descriptor 6 left open WARNING: Locking disabled. Be careful! This could corrupt your metadata. CLVMD[40800950]: Mar 12 16:38:10 getting initial lock for DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKCjJugJE6OqKl6TE3kfQCQ9gVN7UIqLol CLVMD[40800950]: Mar 12 16:38:10 lock_resource ''DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKCjJugJE6OqKl6TE3kfQCQ9gVN7UIqLol-1'', flags=1, mode=1 CLVMD[40800950]: Mar 12 16:38:10 lock_resource returning 1, lock_id=6633487300000000 CLVMD[40800950]: Mar 12 16:38:10 unlock_resource DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKCjJugJE6OqKl6TE3kfQCQ9gVN7UIqLol-2 CLVMD[40800950]: Mar 12 16:38:10 getting initial lock for DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKgKQZZ2iH4MW2a0zRQu3AcGLkfzsA6VC3 CLVMD[40800950]: Mar 12 16:38:10 lock_resource ''DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKgKQZZ2iH4MW2a0zRQu3AcGLkfzsA6VC3-1'', flags=1, mode=1 CLVMD[40800950]: Mar 12 16:38:10 lock_resource returning 1, lock_id=19495cff00000001 CLVMD[40800950]: Mar 12 16:38:10 unlock_resource DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKgKQZZ2iH4MW2a0zRQu3AcGLkfzsA6VC3-2 CLVMD[40800950]: Mar 12 16:38:10 getting initial lock for DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKDuU5NRzMQkLXt3gvAmnb47vMmWtdgU9f CLVMD[40800950]: Mar 12 16:38:10 lock_resource ''DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKDuU5NRzMQkLXt3gvAmnb47vMmWtdgU9f-1'', flags=1, mode=1 CLVMD[40800950]: Mar 12 16:38:10 lock_resource returning 1, lock_id=625558ec00000002 CLVMD[40800950]: Mar 12 16:38:10 unlock_resource DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKDuU5NRzMQkLXt3gvAmnb47vMmWtdgU9f-2 CLVMD[40800950]: Mar 12 16:38:10 getting initial lock for DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKsl2KoOfU7XnBpcTaF3YZxem2sz7SEj1R CLVMD[40800950]: Mar 12 16:38:10 lock_resource ''DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKsl2KoOfU7XnBpcTaF3YZxem2sz7SEj1R-1'', flags=1, mode=1 CLVMD[40800950]: Mar 12 16:38:10 lock_resource returning 1, lock_id=46e87ccd00000003 CLVMD[40800950]: Mar 12 16:38:10 unlock_resource DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKsl2KoOfU7XnBpcTaF3YZxem2sz7SEj1R-2 CLVMD[40800950]: Mar 12 16:38:10 getting initial lock for DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKj4Uj2YnMntsbs7ZpZNh6XQd94FiRXqMe CLVMD[40800950]: Mar 12 16:38:10 lock_resource ''DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKj4Uj2YnMntsbs7ZpZNh6XQd94FiRXqMe-1'', flags=1, mode=1 CLVMD[40800950]: Mar 12 16:38:10 lock_resource returning 1, lock_id=507ed7ab00000004 CLVMD[40800950]: Mar 12 16:38:10 unlock_resource DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKj4Uj2YnMntsbs7ZpZNh6XQd94FiRXqMe-2 CLVMD[40800950]: Mar 12 16:38:10 getting initial lock for DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKALgPVOhD8wZd2O52D4w5JTlPhn2sP2Qi CLVMD[40800950]: Mar 12 16:38:10 lock_resource ''DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKALgPVOhD8wZd2O52D4w5JTlPhn2sP2Qi-1'', flags=1, mode=1 CLVMD[40800950]: Mar 12 16:38:10 lock_resource returning 1, lock_id=41b71efb00000005 CLVMD[40800950]: Mar 12 16:38:10 unlock_resource DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKALgPVOhD8wZd2O52D4w5JTlPhn2sP2Qi-2 CLVMD[40800950]: Mar 12 16:38:10 getting initial lock for DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKrIW1j8eErAiK1SlYLrpJQfwTV76PkFcE CLVMD[40800950]: Mar 12 16:38:10 lock_resource ''DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKrIW1j8eErAiK1SlYLrpJQfwTV76PkFcE-1'', flags=1, mode=1 CLVMD[40800950]: Mar 12 16:38:10 lock_resource returning 1, lock_id=7545e14600000006 CLVMD[40800950]: Mar 12 16:38:10 unlock_resource DZp0ZTb5O4DaIQc2TjBdLrQ8JBpgMOnKrIW1j8eErAiK1SlYLrpJQfwTV76PkFcE-2 CLVMD[40800950]: Mar 12 16:38:10 LVM thread waiting for work Here no response, so i must type CTRL-C ... what LVM thread is waiting for ? Any ideas ? Note : All the LV are xen lv + one OCFS2 LV Thank you, Guy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users