[Lustre-discuss] Cannot mount snapshot volume

Hans-Juergen Schnitzer schnitzer at rz.RWTH-Aachen.DE
Thu Nov 6 09:01:54 PST 2008


I cannot mount the snapshot volumes of lustre devices
(lustre 1.6.6, Scientific Linux 5.2).
For example for the MDT device:

$ lvcreate -L 10G -s -n s2 /dev/volgroup_mdt/mdt
$ tunefs.lustre --reformat --writeconf --fsname=s2 /dev/volgroup_mdt/s2
$ mount -t lustre /dev/volgroup_mdt/s2 /lustre_s2_mdt
mount.lustre: mount /dev/volgroup_mdt/s2 at /lustre_s2_mdt failed: 
Invalid argument
This may have multiple causes.
Are the mount options correct?
Check the syslog for more info. 


The syslog messages are:

Nov 6 17:36:07 mdsc1 kernel: Lustre: MGS: Logs for fs s2 were removed by 
user request.  All servers must be restarted in order to regenerate the 
logs.
Nov  6 17:36:07 mdsc1 kernel: Lustre: MGS: Logs for fs s2 were removed 
by user request.  All servers must be restarted in order to regenerate 
the logs.
Nov  6 17:36:07 mdsc1 kernel: Lustre: Setting parameter 
s2-MDT0000.mdt.quota_type in log s2-MDT0000
Nov  6 17:36:07 mdsc1 kernel: Lustre: Enabling user_xattr
Nov  6 17:36:07 mdsc1 kernel: LustreError: 157-3: Trying to start OBD 
s2-MDT0000_UUID using the wrong disk lustrev-MDT0000_UUID. Were the 
/dev/ assignments rearranged?
Nov  6 17:36:07 mdsc1 kernel: LustreError: 157-3: Trying to start OBD 
s2-MDT0000_UUID using the wrong disk lustrev-MDT0000_UUID. Were the 
/dev/ assignments rearranged?
Nov  6 17:36:07 mdsc1 kernel: LustreError: 
7266:0:(mds_fs.c:625:mds_fs_setup()) cannot read last_rcvd: rc = -22
Nov  6 17:36:07 mdsc1 kernel: LustreError: 
7266:0:(mds_fs.c:625:mds_fs_setup()) cannot read last_rcvd: rc = -22
Nov  6 17:36:07 mdsc1 kernel: LustreError: 
7266:0:(handler.c:2079:mds_setup()) s2-MDT0000: MDS filesystem method 
init failed: rc = -22
Nov  6 17:36:07 mdsc1 kernel: LustreError: 
7266:0:(handler.c:2079:mds_setup()) s2-MDT0000: MDS filesystem method 
init failed: rc = -22
Nov  6 17:36:07 mdsc1 kernel: LustreError: 
7266:0:(obd_config.c:351:class_setup()) setup s2-MDT0000 failed (-22)
Nov  6 17:36:07 mdsc1 kernel: LustreError: 
7266:0:(obd_config.c:351:class_setup()) setup s2-MDT0000 failed (-22)
Nov  6 17:36:07 mdsc1 kernel: LustreError: 
7266:0:(obd_config.c:1093:class_config_llog_handler()) Err -22 on cfg 
command:
Nov  6 17:36:07 mdsc1 kernel: LustreError: 
7266:0:(obd_config.c:1093:class_config_llog_handler()) Err -22 on cfg 
command:
Nov  6 17:36:07 mdsc1 kernel: Lustre:    cmd=cf003 0:s2-MDT0000  1:dev 
2:type  3:s2-MDT0000
Nov  6 17:36:07 mdsc1 kernel: Lustre:    cmd=cf003 0:s2-MDT0000  1:dev 
2:type  3:s2-MDT0000
Nov  6 17:36:07 mdsc1 kernel: LustreError: 15b-f: 
MGC192.168.220.10 at o2ib: The configuration from log 's2-MDT0000' failed 
(-22). Ma ke sure this client and the MGS are running compatible 
versions of Lustre.
Nov  6 17:36:07 mdsc1 kernel: LustreError: 15b-f: 
MGC192.168.220.10 at o2ib: The configuration from log 's2-MDT0000' failed 
(-22). Ma ke sure this client and the MGS are running compatible 
versions of Lustre.
Nov  6 17:36:08 mdsc1 kernel: LustreError: 15c-8: 
MGC192.168.220.10 at o2ib: The configuration from log 's2-MDT0000' failed 
(-22). Th is may be the result of communication errors between this node 
and the MGS, a bad configuration, or other errors. See the syslog f or 
more information.
Nov  6 17:36:08 mdsc1 kernel: LustreError: 15c-8: 
MGC192.168.220.10 at o2ib: The configuration from log 's2-MDT0000' failed 
(-22). Th is may be the result of communication errors between this node 
and the MGS, a bad configuration, or other errors. See the syslog f or 
more information.
Nov  6 17:36:08 mdsc1 kernel: LustreError: 
7214:0:(obd_mount.c:1113:server_start_targets()) failed to start server 
s2-MDT0000: -22
Nov  6 17:36:08 mdsc1 kernel: LustreError: 
7214:0:(obd_mount.c:1113:server_start_targets()) failed to start server 
s2-MDT0000: -22
Nov  6 17:36:08 mdsc1 kernel: LustreError: 
7214:0:(obd_mount.c:1623:server_fill_super()) Unable to start targets: -22
Nov  6 17:36:08 mdsc1 kernel: LustreError: 
7214:0:(obd_mount.c:1623:server_fill_super()) Unable to start targets: -22
Nov  6 17:36:08 mdsc1 kernel: LustreError: 
7214:0:(obd_config.c:418:class_cleanup()) Device 12 not setup
Nov  6 17:36:08 mdsc1 kernel: LustreError: 
7214:0:(obd_config.c:418:class_cleanup()) Device 12 not setup
Nov  6 17:36:08 mdsc1 kernel: Lustre: 
7214:0:(obd_mount.c:1443:server_put_super()) Cleaning orphaned obd s2-mdtlov
Nov  6 17:36:08 mdsc1 kernel: Lustre: 
7214:0:(obd_mount.c:1443:server_put_super()) Cleaning orphaned obd s2-mdtlov
Nov  6 17:36:08 mdsc1 kernel: Lustre: server umount s2-MDT0000 complete
Nov  6 17:36:08 mdsc1 kernel: Lustre: server umount s2-MDT0000 complete
Nov  6 17:36:08 mdsc1 kernel: LustreError: 
7214:0:(obd_mount.c:1980:lustre_fill_super()) Unable to mount  (-22)
Nov  6 17:36:08 mdsc1 kernel: LustreError: 
7214:0:(obd_mount.c:1980:lustre_fill_super()) Unable to mount  (-22)

The lustre manual says in section 1.7:
 
     "The Lustre software includes a utility (using LVM snapshot 
technology) to create a snapshot of all volumes and group snapshots 
together in a snapshot file system that can be mounted with Lustre."

Where can I find that tool?

Best regards,
Hans Schnitzer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5750 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20081106/2255f977/attachment.bin>


More information about the lustre-discuss mailing list