Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-31-2012, 12:05 AM   #1
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Rep: Reputation: 3
File System Fun

I'm using CentOS 6.3 trying to figure somethings out that I'm having a hard time with. Looking for help here.
I want to know how to take
[root@CentOSLabGUI /]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
                      18618236   2344436  15328036  14% /
tmpfs                   905352       444    904908   1% /dev/shm
/dev/sda1               495844     52532    417712  12% /boot
[root@CentOSLabGUI /]#
the vg /dev/mapper/vg_centoslabgui-lv_root
and resize it to allow me to add another pv and so on. I know how to do all this from a clean harddrive. Also I'm trying to learn how to do this in the terminal no GUI. If you need anymore info let me know. Thanks guys
Old 08-31-2012, 01:45 AM   #2
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Original Poster
Rep: Reputation: 3
haha found a solution to the question right here on these forums
i used this
Shrinking volume from 10G to 9G:

While online enlarging is no problem, you have to umount for shrinking!
# umount /dev/vg_blah/lv_blah
Perform a check of the filesystem...
# e2fsck -f /dev/vg_blah/lv_blah
Resize the filesystem first.
# resize2fs /dev/vg_blah/lv_blah 9G
Then reduce the size of the logical volume.
# lvreduce -L -1G /dev/vg_blah/lv_blah


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
Java fun (firefox plugin problems with x86_x64 system) epsilon72 Linux - Software 1 03-24-2007 02:36 AM
is there any fun() available in linux to find system uptime without using sysinfo uppala MEPIS 2 06-15-2005 10:45 AM
Fun with Samba and file permissions atrivis42 Linux - Networking 2 07-06-2004 04:55 AM
Checksum errors and Fun with System Halts Jasen Linux - General 3 02-10-2003 04:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:47 PM.

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