- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/lvmconf too large
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-23-2004 06:53 PM
тАО09-23-2004 06:53 PM
I have 277 vg configured on a production cluster and if I run vgcfgbackup for each vg the filesystem / becomes full, so I don't have a vgxx.conf for each VG and the root almost full!
I cannot extend the filesystem on line (contiguous allocation policy).
There are more solution for this problem,
here my suppositions:
1) Backup/restore vg00
2) pvmove lvol4 (but not all the system have more than 2 mirrored diks)
3) /etc/lvmconf as mountpoint for a new filesystem
4) a daily scheduled mv of all the vgxx.conf in the /etc/lvmconf directory
1,2,3 solutios need a LVM or system stop
4 is very unusual
I'd like to avoid any interruption
Any other idea?
...Is it possible to have /etc/lvmconf as a link?
Thank you!
Vale et valete
ZAMPO
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 07:12 PM
тАО09-23-2004 07:12 PM
Re: /etc/lvmconf too large
you can try using -f option with vgcfgbackup
-f option allows you to specify the backup directory other than default.
the syntax is
vgcfgbackup -f /tmp/vg00.conf vg00
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 07:37 PM
тАО09-23-2004 07:37 PM
Re: /etc/lvmconf too large
How large is root filesystem and how large is the /etc/lvmconf? Did you check if there are other large unwanted files in root?
# du -kx / | sort -rn > /tmp/du.list
# find . -type f -size +1000 -xdev -exec ll {} \;
Just a thought :-)
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 07:39 PM
тАО09-23-2004 07:39 PM
Re: /etc/lvmconf too large
What about using -f with vgcfgbackup
/sbin/vgcfgbackup [-f vg_conf_path] [-u] vg_name
See man pages for more details
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 11:56 PM
тАО09-23-2004 11:56 PM
SolutionTry and get rid of the stuff which is unuseful. Try and see of there are any core, text, doc, pdf, log files which can be easily removed.
And I would suggest to create a link to specified directory.
Say create some directory where ample space is available and create a link across, so your actual data is at different location while vgcfgbackup sees it the same location.
ln -s /var/adm/crash/etc_lvmconf /etc/lvmconf, make sure to have mirrored copies of the same.
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 12:31 AM
тАО09-24-2004 12:31 AM
Re: /etc/lvmconf too large
But my root filesystem is about 300 Mb and about 50% is full.
Each vgxx.conf is about 1,5 Mb; 277 vg configured... 415,5 Mb...
Each time a vg is modified, the vgxx.conf is produced, and the old one is renamed as .old!
Is it possible to set as default another directory? (not a manually backup usign vgcfgbackup)
The /etc/lvmconf is busyed by the cmlvmd deamon; are there any counterindication to have a link instead of a directory as Prashant suggest?
Vale et valete
ZAMPO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 12:40 AM
тАО09-24-2004 12:40 AM
Re: /etc/lvmconf too large
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 01:51 AM
тАО09-24-2004 01:51 AM
Re: /etc/lvmconf too large
I've made an external filesystem where to store all the vgxx.conf and to the next system reboot I will substitute the /etc/lvmconf directory with a link to that filesystem
Vale et valete
ZAMPO