LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-13-2012, 10:14 PM   #1
ghostshell
LQ Newbie
 
Registered: Feb 2012
Posts: 8

Rep: Reputation: Disabled
lvm / resize partition problem


OS = RHEL 6 on vmware

parted /dev/sda print
Quote:
Number Start End Size Type File system Flags
1 1049kB 316MB 315MB primary ext4 boot
2 316MB 19.4GB 19.0GB primary ext4
3 19.4GB 21.5GB 2114MB primary linux-swap(v1)
df -k
Quote:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 18306828 6247304 11129580 36% /
tmpfs 508464 276 508188 1% /dev/shm
/dev/sda1 297485 54644 227481 20% /boot
i was not able to use the lvm gui as the command not found so
i try to use lvm non-gui to resize the /dev/sda1 to increase the size but fail to do

anyone have any idea for me to do so?

Last edited by ghostshell; 02-14-2012 at 05:52 AM.
 
Old 02-13-2012, 10:50 PM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
There is no evidence in what you posted of LVM being in use ... ?

Why do you want to increase the size of sda1 when it is only 20% used and already bigger than the usual /boot size of 1-200 MB?
 
Old 02-14-2012, 05:20 AM   #3
ghostshell
LQ Newbie
 
Registered: Feb 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by catkin View Post
There is no evidence in what you posted of LVM being in use ... ?

Why do you want to increase the size of sda1 when it is only 20% used and already bigger than the usual /boot size of 1-200 MB?
i try to create the database in folder /opt
but fail to do so as the size is not enouf
the database size is about 1G
 
Old 02-14-2012, 06:08 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Assuming there aren't any symbolic links to point /opt to the /boot file system, /opt is on the / file system which has around 11 GB free space. You might like to use df -h instead of df -k for an output which is easier to understand.

What are you doing to create the database? How do you know it is about 1 GB? What are the error messages?
 
Old 02-14-2012, 06:53 AM   #5
ghostshell
LQ Newbie
 
Registered: Feb 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by catkin View Post
Assuming there aren't any symbolic links to point /opt to the /boot file system, /opt is on the / file system which has around 11 GB free space. You might like to use df -h instead of df -k for an output which is easier to understand.

What are you doing to create the database? How do you know it is about 1 GB? What are the error messages?
i was wrongly assume that my /opt is on /dev/sda1, in face is on /dev/sda2... while i try to create the sybase database
end up i find out that the insufficient space is due to my silly mistake... the pages size i define for the database is too big and over the partition size.

btw, thanks for the reply... have a nice day
 
  


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
Possible to online resize LVM root partition (/)? jhwilliams Linux - Software 2 01-04-2012 01:58 PM
Partition resize for LVM mhouston100 Linux - Server 9 06-07-2010 11:07 PM
How To Resize LVM Partition sfo Linux - General 1 09-17-2006 12:39 PM
resize LVM partition bkesting Linux - General 3 06-17-2005 10:28 AM
Resize existing and add another partition with LVM donv2 Linux - Newbie 3 04-27-2005 05:23 AM


All times are GMT -5. The time now is 06:04 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