- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extending /var, /usr, /opt and /tmp
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
тАО05-22-2001 10:43 AM
тАО05-22-2001 10:43 AM
Extending /var, /usr, /opt and /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2001 11:29 AM
тАО05-22-2001 11:29 AM
Re: Extending /var, /usr, /opt and /tmp
It sounds as if the extendfs portion did not go as planned despite what SAM reported to you. If lvdisplay shows the "new" size and bdf does not, chances are you need to redo the extendfs command.
Instead of using SAM, I would run extendfs from the command line. As you noted, you will probably need to be in single user mode since the filesystems will need to be unmounted.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2001 12:01 PM
тАО05-22-2001 12:01 PM
Re: Extending /var, /usr, /opt and /tmp
Make sure that your filesystems have a lost+found directory so that the .fsadm file can be written. Also, the process will fail if a filesystem is completely full.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2001 12:05 PM
тАО05-22-2001 12:05 PM
Re: Extending /var, /usr, /opt and /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2001 12:25 PM
тАО05-22-2001 12:25 PM
Re: Extending /var, /usr, /opt and /tmp
I agree with Alan. Remember that the '-l' option of 'lvextend' specifies extension in logical *extents* whereas the '-L' option specifies the size in *megabytes*. Make sure you specifying what you think you are.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2001 02:22 PM
тАО05-22-2001 02:22 PM
Re: Extending /var, /usr, /opt and /tmp
lvextend -L 4096 /dev/vg00/lvol6
Then. of course, I issued the extendfs command. I did do this in command line mode and not SAM. Here is the output of the lvdisplay command (only for /opt):
--- Logical volumes ---
LV Name /dev/vg00/lvol6
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 4096
Current LE 1024
Allocated PE 1024
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
And here is the output for bdf:
/dev/vg00/lvol6 2050203 1124481 720701 61% /opt
Hopefully this can give someone a hint to help me. Thanks.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2001 11:30 PM
тАО05-22-2001 11:30 PM
Re: Extending /var, /usr, /opt and /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2001 03:54 AM
тАО05-23-2001 03:54 AM
Re: Extending /var, /usr, /opt and /tmp
#extendfs -F vxfs /dev/vg00/lvol6 ?
The file system is full ?
See also fsadm if you have Online JFS
#fsadm -F vxfs -b 4194304 /opt,without umount and with system up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2001 07:01 AM
тАО05-23-2001 07:01 AM
Re: Extending /var, /usr, /opt and /tmp
A good example is that if you do a lot of printing you can create a /var/spool/lp file system. If you have printers down and jobs keep putting print jobs in the queues. You could fill /var and affect the entire system. With a seperate file system then printing is the only thing affected. The same goes for mail, or if you collect sar stats you can create /var/adm/sa and that file system will remain pretty constant, but not take up space in /var.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2001 07:15 AM
тАО05-23-2001 07:15 AM
Re: Extending /var, /usr, /opt and /tmp
I have had this problem before. Those filesystems must be hfs. There is a discrpancy with bdf and hfs filesystems. The thing to do is convert them to vxfs filesystem.
Steps to take in converting from hfs to vxfs:
1. Backup all the data from the filesystems involved
2. Copy /etc/fstab to /etc/fstab.old, change the /etc/fstab file for the /dev/vg00/lvoln to replace the hfs with vxfs for the filesystems in question.
3. Reboot the to single user mode (thereby unmounting
the filesystems)
4. Do newfs -F vxfs /dev/vg00/lvoln
5. Do fsck -F vxfs /dev/vg00/lvoln
6. Mount /dev/vg00/lvoln
7. Do fstyp /dev/vg00/lvoln (To confirm that the filesystem is now vxfs).
8. Restore from that backup media
9. Reboot the system.
I hope this helps.
Regards!