- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- LVM problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 07:02 AM
тАО09-25-2008 07:02 AM
Beside others I partitioned the following two logical volumes on my hard drive (single hdd 500Gb with Fedora 9) - lvs:
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
LogVol05 VolGroup00 -wi-ao 19.53G
LogVol06 VolGroup00 -wi-a- 205.06G
with the following mount points (/etc/fstab):
/dev/VolGroup00/LogVol05 /var ext3 defaults 1 2
/dev/VolGroup00/LogVol06 /var/lib/mysql ext3 defaults 1 2
When I populated my MySQL databases the process stopped and I found that /var is completely full. I checked /var/lib/mysql, which is there and contained the database I had installed. After removing the bigger DB df showed the following:
Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol05
20G 5.0G 14G 28% /var
but nothing about /dev/VolGroup00/LogVol06 where I though I would have my databases stored.
Can anyone tell me why this problem occurred and how can I assign /var/lib/mysql to LogVol06
Thanks,
Ebi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 07:56 AM
тАО09-25-2008 07:56 AM
Solutionmount /dev/VolGroup00/LogVol06 /mnt
Then, copy the content of /var/lib/mysql to /mnt
cp -av /var/lib/mysql/* /mnt
Now, ensure that the Mysql database is stopped and mount the LogVol06 into /var/lib/mysql
umount /mnt
mount /dev/VolGroup00/LogVol06 /var/lib/mysql
Post any errors that you may receive during this procedure.
Welcome to the forum, please remember to assign points to the answers you get. For more info see:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2008 03:40 AM
тАО09-26-2008 03:40 AM
Re: LVM problem
/dev/VolGroup00/LogVol06 /var/lib/mysql ext3 defaults 1 2
Is there any way to get it mounted at boot time?
Ebi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2008 03:57 AM
тАО09-26-2008 03:57 AM
Re: LVM problem
/dev/VolGroup00/LogVol06 /var/lib/mysql ext3 defaults 1 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2008 06:33 AM
тАО09-26-2008 06:33 AM
Re: LVM problem
/var/lib/mysql should be after /var.
hope that help