lvm over nfs

Discussion in 'General Server' started by lvmnfs, Dec 15, 2012.

  1. lvmnfs

    lvmnfs New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hello

    I'm looking for a user guide which will teach me how to use LVM over NFS.
    Serveral people need to connect te server and use LVM.
    Someone that can help me?

    Kind regards

  2. glenn4uk

    glenn4uk New Member

    Messages:
    13
    Likes Received:
    1
    Trophy Points:
    3
    Lvm is the software you use on your file server to create logical volumes to hold the file systems you export with NFS. So, for example, use lvm to create the logical device /dev/md0 on your file server. On /dev/md0 then you create an ext4, btrfs, or whatever file system which you export to the clients via nfs.
  3. lvmnfs

    lvmnfs New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    i create LVM with this video : LVM in linux on youtube
    what do i need to let work nfs?

    Someone who have also a good video or explanation because me linux skills are low

    Kind regards
  4. glenn4uk

    glenn4uk New Member

    Messages:
    13
    Likes Received:
    1
    Trophy Points:
    3
    Sorry - I got lvm confused with mdadm but if you have a logical volume created with lvm already I guess you figured that out.

    OK so now you have a logical volume but on it you have to create a file system; i.e., ext4, xfs, btrfs, etc. Assuming that you have created the file system - it's this file system that you share with NFS - NOT the logical volume you created with lvm. Once you have the file system created you will typically place the mount point of that file system in /etc/exports for sharing to client systems. Google "linux NFS" for some good how-tos.

Share This Page