LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-04-2005, 10:18 AM   #1
Giallo998
LQ Newbie
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 27

Rep: Reputation: 15
Adding to VFS volume?????


On my Gentoo box that I use as a file /web / ftp server, I have 3 hds, and would like to use LVM to see them as one larger drive so I'm not constantly moving / matching files around, and so that I can add to the size at a later date. I found some basics for xfs / lvm2 when setting up mythtv, and have a Volume Group called "server" and a Logical Volume called "drive". Thus far, I have done the following and added the first partition to the LV.

pvcreate /dev/hda

vgcreate server -s 64 /dev/hda4

vgdisplay
Total PE = 1308

lvcreate -l 1308 server -n drive

mkfs.xfs /dev/server/drive

Now I have a bunch of stuff on the LV, and want to add my other two hds to the LV. From what I can find, I think that I need to do the following for each drive:

pvcreate /dev/hdb

vgextend server /dev/hdb

vgdisplay
note free PE

lvextend -L +[free PE] /dev/server/drive

xfs_growfs /server (/server is the mount point of the LV (/dev/server/drive))

Does this look correct to you guys?? Any of you lvm experts out there got any corrections or additions or suggestions? I really do not want to lose any of the data that is already on the LV. Thanks Nick
 
  


Reply



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
devfs vs vfs sweetnsourbkr Slackware 2 10-21-2005 01:15 PM
Adding a disk to a volume njdownes Linux - Hardware 2 03-14-2005 05:05 AM
program volume rather than system volume Moebius Linux - Software 6 11-05-2004 09:57 PM
Vfs 2.6.8 2.6.8.1 edman007 Linux - General 0 10-29-2004 08:43 PM
Adjusting how much volume jumps with volume keys vrillusions Linux - Laptop and Netbook 2 10-17-2003 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:06 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
Open Source Consulting | Domain Registration