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 02-13-2012, 09: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 04:52 AM.
 
Old 02-13-2012, 09:50 PM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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, 04: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, 05:08 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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, 05: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



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 12:58 PM
Partition resize for LVM mhouston100 Linux - Server 9 06-07-2010 10:07 PM
How To Resize LVM Partition sfo Linux - General 1 09-17-2006 11:39 AM
resize LVM partition bkesting Linux - General 3 06-17-2005 09:28 AM
Resize existing and add another partition with LVM donv2 Linux - Newbie 3 04-27-2005 04:23 AM

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

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