Very newbie question (LVM+NFS)
Hi, List!
I apologize a lot if my question has been already answered in this mailing list. The archive is not searchable, and the search engines didn't answer plently to my particular problem...
So here it goes.
I have multiple pcs running NFS server and one pc running NFS client. This client-pc (named master server) can access to the remote directories of the machines running NFS server.
Here is how my /etc/fstab is designed on the master server:
#/etc/fstab (master server)
192.168.1.2:/home/share /mnt/192.168.1.2 nfs
rsize=8192,wsize=8192,timeo=14
192.168.1.3:/home/share /mnt/192.168.1.3 nfs
rsize=8192,wsize=8192,timeo=14
192.168.1.4:/home/share /mnt/192.168.1.4 nfs
rsize=8192,wsize=8192,timeo=14
192.168.1.5:/home/share /mnt/192.168.1.5 nfs
rsize=8192,wsize=8192,timeo=14
192.168.1.6:/home/share /mnt/192.168.1.6 nfs
rsize=8192,wsize=8192,timeo=14
I would like to know if it is possible, then, to use LVM in order to aggregate all these nfs partitions onto one single volume.
Thanks in advance for any answer. And sorry again if this has been already answered in this mailing list.
Best regards,
Kader.
Hi Kader!
Quoted 2 lines
I would like to know if it is possible, then, to use LVM in order to aggregate all these nfs partitions onto one single volume.
No, it is impossible that way. NFS mounts are not partitions, but exported filesystems. They don't have e.g. a device entry on the client.
If you want to use lvm, you need a block DEVICE, e.g. a harddisk. Usually this appears as /dev/sda, /dev/hda, /dev/rd/c0d0 etc. There are ways to export block devices over a network, e.g. "iscsi" - you export a device and get a new "scsi"-device on the client. This is a possible lvm target (am I wrong here?).
Good luck, CU Lars.
Signature · 3 lines
+++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr�mie sichern!
Thanks you, Lars and Steffen for your answers.
This would be too easy if it was possible to use LVM this way :^)
Best regards,
Kader
Quoted 12 lines · ETI - Barry Irchad Kader
#/etc/fstab (master server)
192.168.1.2:/home/share/mnt/192.168.1.2nfs
rsize=8192,wsize=8192,timeo=14
192.168.1.3:/home/share/mnt/192.168.1.3nfs
rsize=8192,wsize=8192,timeo=14
192.168.1.4:/home/share/mnt/192.168.1.4nfs
rsize=8192,wsize=8192,timeo=14
192.168.1.5:/home/share/mnt/192.168.1.5nfs
rsize=8192,wsize=8192,timeo=14
192.168.1.6:/home/share/mnt/192.168.1.6nfs
rsize=8192,wsize=8192,timeo=14
Quoted 2 lines
I would like to know if it is possible, then, to use LVM in order to aggregate all these nfs partitions onto one single volume.
No, but you can put all these disks into one box and put all disks together into one LV to use or reexport them.