[Lustre-discuss] creating and using loopback device on a file on a lustre filesystem?

Richard Lefebvre Richard.Lefebvre at rqchp.qc.ca
Sat Dec 5 15:13:50 PST 2009


Hi,

Would it be safe to create a file on a lustre file system and use it as 
a loop device for mounting?

Sort of doing something like this (creates a 100G file):

mount -t lustre msdserver at o2ib0:/lustre /mnt/lustre
dd if=/dev/zero of=/mnt/lustre/myfsfile bs=1024 count=104857600
mkfs.ext3 /mnt/lustre/myfsfile
mkdir /mnt/myfs
mount -o loop /mnt/lustre/myfsfile /mnt/myfs




More information about the lustre-discuss mailing list