[Lustre-discuss] howto make a lvm, or virtual lvm?

Ben Evans Ben.Evans at terascala.com
Wed Dec 15 10:55:19 PST 2010


Phillipe,

One way to circumvent this would be to create one file on each OST, loop mount them on the client and use pvcreate on each to size them at ~950 MB.  Once you've done that create a VG (striped, stripe size should be exactly 1M (lustre's preferred I/O size), and you should be good to go.

It's been awhile since I've played around with doing this, but it's the basic idea.

-----Original Message-----
From: lustre-discuss-bounces at lists.lustre.org [mailto:lustre-discuss-bounces at lists.lustre.org] On Behalf Of Eudes PHILIPPE
Sent: Wednesday, December 15, 2010 12:06 PM
To: lustre-discuss at lists.lustre.org
Subject: [Lustre-discuss] howto make a lvm, or virtual lvm?

Hello

I’m newbie on lustre ☺

Currently, i make some test on virtual machines.

I’ve:
- Server mds1 for mdt mgs
- Server ost1 for data, with 2 drives 1Go (for test, it's some virtual machines)
- Server client to mount mds

On server mds1
/dev/sda3              93G  461M   87G   1% /mds

On server ost1
/dev/sdc             1008M  64M  967M  2% /home/ost2
/dev/sdb             1008M  957M   68K 100% /home/ost1

(
Or 
On server ost1
/dev/sdb             1008M  957M   68K 100% /home/ost1

On server ost2
/dev/sdb             1008M  64M  967M  2% /home/ost2
}


On client
192.168.45.20 at tcp0:/large-fs        2,0G  1,3G  629M  68% /home

At the end, I want (if it's possible), a raid 5 over Ethernet, or, 1 physical raid 5 on each ostX and a big lvm I can extend as I want....

For my first test, I upload on client a file (1.8 Go) (each ost have 1 Go)
The problem, is, when sdb is full, he stop the copy, and don't continue on ost2

Maybe I must create a lvm, but I don't found howto to (maybe it's possible to create lvm without format when I add others ost later..)

Questions:
- it's the good way?
- How I can write a 1.8Go (one file) on the 2 os, one part on ost1, one and final part on ost2

Regards


_______________________________________________
Lustre-discuss mailing list
Lustre-discuss at lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss


More information about the lustre-discuss mailing list