HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- New logical volume for an existing directory
Operating System - HP-UX
1833046
Members
2584
Online
110049
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-27-2008 01:24 PM
02-27-2008 01:24 PM
New logical volume for an existing directory
Hello,
I already have '/var/adm' directory. '/var' is mounted on '/dev/vg00/lvol8'. For a specific (strange) reason, I wanted to created a new LV 'var_adm' and mount '/var/adm' on it. To do that, I did following steps:
1) lvcreate -L 1000 -n var_adm /dev/vg00
2) newfs -F vxfs /dev/vg00/rvar_adm
3) mount /dev/vg00/var_adm /var/adm
4) lvextend -m 1 /dev/vg00/var_adm /dev/dsk/c1t0d0
5) Added a line into /etc/fstab
Problems:
1) 'bdf' shows 0% used on /var/adm on LV /dev/vg00/var_adm
2) I do not have a prior bdf snap shot to compare '/var' on lvol8.
3) /var/adm/syslog directory does not exist.
4) I get error '/var/adm/syslog/syslog.log - No such file or directory' when rebooting
5) 'lpshut' and 'lpsched' commands are acting up. Sometimes they work and sometimes I get error message 'scheduler could not be started/stopped'. Print jobs are not coming out of the printers.
Questions:
1) What would have been the right steps to create a new LV for an existing directory?
2) How can I rectify the LV problem now?
3) Is 'lp' problem anyway related to wrong LV creation?
Thanks in advance
I already have '/var/adm' directory. '/var' is mounted on '/dev/vg00/lvol8'. For a specific (strange) reason, I wanted to created a new LV 'var_adm' and mount '/var/adm' on it. To do that, I did following steps:
1) lvcreate -L 1000 -n var_adm /dev/vg00
2) newfs -F vxfs /dev/vg00/rvar_adm
3) mount /dev/vg00/var_adm /var/adm
4) lvextend -m 1 /dev/vg00/var_adm /dev/dsk/c1t0d0
5) Added a line into /etc/fstab
Problems:
1) 'bdf' shows 0% used on /var/adm on LV /dev/vg00/var_adm
2) I do not have a prior bdf snap shot to compare '/var' on lvol8.
3) /var/adm/syslog directory does not exist.
4) I get error '/var/adm/syslog/syslog.log - No such file or directory' when rebooting
5) 'lpshut' and 'lpsched' commands are acting up. Sometimes they work and sometimes I get error message 'scheduler could not be started/stopped'. Print jobs are not coming out of the printers.
Questions:
1) What would have been the right steps to create a new LV for an existing directory?
2) How can I rectify the LV problem now?
3) Is 'lp' problem anyway related to wrong LV creation?
Thanks in advance
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2008 02:49 PM
02-27-2008 02:49 PM
Re: New logical volume for an existing directory
The only thing that is happenning to you is that you forget to backup the content of /var/adm before mounting a file system on it. Just:
1) Backup your data inside /var/adm
2) Follow the entire above procedure
3) Restore your backup to /var/adm.
Quite simple.
Regards!
1) Backup your data inside /var/adm
2) Follow the entire above procedure
3) Restore your backup to /var/adm.
Quite simple.
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2008 10:39 PM
02-27-2008 10:39 PM
Re: New logical volume for an existing directory
See your other thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1207859
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1207859
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP