LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-12-2005, 01:41 AM   #1
bondsteveg
LQ Newbie
 
Registered: Mar 2005
Location: Hobart, Tasmania, Australia
Distribution: Fedora
Posts: 3

Rep: Reputation: 0
Question How do you use and configure LVMs?


Should a newbie like me even attempt this!?

-------------------------------------------------------------------------------------------------

This is what I get with df -ah:

-------------------------------------------------------------------------------------------------

Filesystem Size Used Avail Use% Mounted on
/dev/hda6 3.9G 1.7G 2.1G 45% /
none 0 0 0 - /proc
none 0 0 0 - /sys
none 0 0 0 - /dev/pts
usbfs 0 0 0 - /proc/bus/usb
/dev/hda2 99M 6.7M 87M 8% /boot
none 122M 0 122M 0% /dev/shm
none 0 0 0 - /proc/sys/fs/binfmt_misc
sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs

-------------------------------------------------------------------------------------------------

This is what I get with fdisk -l

-------------------------------------------------------------------------------------------------

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1913 15366141 c W95 FAT32 (LBA)/dev/hda2 1914 1926 104422+ 83 Linux
/dev/hda3 3012 19457 132102495 8e Linux LVM
/dev/hda4 1927 3011 8715262+ f W95 Ext'd (LBA)/dev/hda5 1927 2436 4096543+ 8e Linux LVM
/dev/hda6 2437 2946 4096543+ 83 Linux
/dev/hda7 2947 3011 522081 82 Linux swap

Partition table entries are not in disk order
-------------------------------------------------------------------------------------------------

So my LVM volumes are there. But how do me and my fellow users access them? Is it done through some sort of mnt command. Do I have to set this up? Is there a way to see LVM partitions via GUI as folders - I wanted to use them to store the organisations collaborative project and client file folders on hda3 (see above), but if staff have to get to these via command line they'll freak! I presume that LVMs don't magically sit in the /home and /user directories where I imagined them to go - how naiive can you get! but if it is possible to map a lvm to a folder in the /home directory of root then that would be a great answer to my dreams.
 
Old 04-12-2005, 01:58 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Re: How do you use and configure LVMs?

Quote:
Originally posted by bondsteveg

So my LVM volumes are there. But how do me and my fellow users access them? Is it done through some sort of mnt command. Do I have to set this up? Is there a way to see LVM partitions via GUI as folders - I wanted to use them to store the organisations collaborative project and client file folders on hda3 (see above), but if staff have to get to these via command line they'll freak! I presume that LVMs don't magically sit in the /home and /user directories where I imagined them to go - how naiive can you get! but if it is possible to map a lvm to a folder in the /home directory of root then that would be a great answer to my dreams.
Have you seen:

http://www-106.ibm.com/developerwork...library/l-lvm/

???

If you have a file system on the lvm blocks, then you can mount them just live any other file system. ONce mounted they can be accessed by the GUI like normal. Yu could include symolic links in all the users /home/username directories or provide a directory off /root (roots home directory) to mount the volumes. They can be automatically mounted at boottime so suers won't have to use command line - b'sides, you don't want users accesing the mnt command anyway.
 
Old 04-14-2005, 07:29 PM   #3
bondsteveg
LQ Newbie
 
Registered: Mar 2005
Location: Hobart, Tasmania, Australia
Distribution: Fedora
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

Thanks Simon

I'll learn up from the link you've supplied and see what I dont know then
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure dhcpd (Configure DHCP Server) hanserver2004 LinuxQuestions.org Member Success Stories 3 10-23-2006 07:39 AM
Swap Files and LVMs moxieman99 Fedora - Installation 4 11-15-2005 06:07 PM
Configure dhcpd (Configure DHCP Server) hanserver2004 General 1 08-16-2004 02:39 PM
How to use GNU autoconf to generate a new configure from configure.in ?? vanhelsing Programming 5 08-05-2004 11:02 AM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 04:52 PM


All times are GMT -5. The time now is 10:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration