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
Forums
Discussions
Discussions
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
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
08-16-2002 06:43 AM
08-16-2002 06:43 AM
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 06:45 AM
08-16-2002 06:45 AM
Re: /var
/var is a vxfs system and can be extended online if you have ONLIN JFS in teh system , incase you dont ahve it then you need to go to single user mode and then increase the size.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 06:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 06:47 AM
08-16-2002 06:47 AM
Re: /var
If you have online JFS you can extend it without shutting the system down. If you don't have online JFS then you will most likely have to do it from single user mode, unless you can get all processes stopped that use /var. It's a lot faster to just do it from single user mode if you have a lot of processes using /var.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 06:50 AM
08-16-2002 06:50 AM
Re: /var
If you have licensed Online JFS then this can be down without the needed to change to single user mode.
If you do not have Online JFS, the easist way to expand filesystem like /var is to *reboot* into single user-mode. Do the required LVM maintenance with the commands in /sbin and when done, either reboot or chnage the 'init' level to its default (usually 3).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 06:52 AM
08-16-2002 06:52 AM
Re: /var
If you do not have online-JFS, then go to single-user mode to expand /var.
If you are not comfortable with command line, you can use SAM to perform this task, which is safe and easier.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 06:54 AM
08-16-2002 06:54 AM
Re: /var
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 06:58 AM
08-16-2002 06:58 AM
Re: /var
I would prefer doing this in single-user mode. Once you are there, then:
# pvcreate -f new_pv_name
# vgextend vg_name pv_name
# lvextend -L new_size lv_name new_pv_name
# extendfs rlv_name
# fsck lv_name
# mount -a
# bdf
# shutdown -y -r 0
Also you can do the extend using 'fsadm' command too. If you are not familiar with commands, then best way is to use SAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:08 AM
08-16-2002 07:08 AM
Re: /var
Just an added note.
If your filesystem is not vxfs and you have to use single user, in the end it is probably easier to do as previously suggested and reboot then go up into single user rather than going down from your current run level using init s.
Using init s won't kill all processes run from /var so if you use this option you'll have to find those processes and kill them manually in order to umount /var.
Good luck,
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 08:26 AM
08-16-2002 08:26 AM
Re: /var
Otherwise shutdown the system, boot it, select yes to interact with the ISL.
Then issue:
hpux -is # boots into single user mode.
Then:
lvextend -L newsize /dev/vg00/lvolNN whatever lvol is /var
extendfs /dev/vg00/rlvol9
Reboot the sytem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 08:28 AM
08-16-2002 08:28 AM
Re: /var
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 08:29 AM
08-16-2002 08:29 AM
Re: /var
:-)
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 08:30 AM
08-16-2002 08:30 AM
Re: /var
If you have online JFS installed on your system, you will be able to extend with out shutting down the box.
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 11:48 AM
08-16-2002 11:48 AM
Re: /var
/dev/vg00/lvol8 /var vxfs delaylog 0 2
I don't want to create only increase, and stupi question how I can knouw is a JFS Online.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 11:54 AM
08-16-2002 11:54 AM
Re: /var
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 11:56 AM
08-16-2002 11:56 AM
Re: /var
A simple way is to use more /etc/fstab
If it says vxfs on the lvols it journeled.
If it says hfs, it's not.
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 12:03 PM
08-16-2002 12:03 PM
Re: /var
The system will take care of the mirror. You do not have to worry about it.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 12:07 PM
08-16-2002 12:07 PM
Re: /var
two things:
# swlist
check output and see if you have Online JFS installed. For file syste details:
# fstyp -v file_sys_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 12:23 PM
08-16-2002 12:23 PM
Re: /var
In #swlist output of your system check for online JFS (B3929BA) or JFS for (JFS 3.3) verison.
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 02:19 PM
08-16-2002 02:19 PM
Re: /var
If your vg00 is mirrored, leave it mirrored. There is no problem when you extend a logical volume and filesystem in this configuraton. The only real issue is to know what you are doing.
To find out if you are licensed for Online JFS, do:
# swlist | grep -i onlinejfs
If you have the online component, you will be returned a string with that word in it.
Too, if you have OnlineJFS installed, instead of doing an 'extendfs' you will use 'fsadm' to enlarge the filesystem:
# fsadm -b newsize /mount_point
Note that the
I suggest that you have a look at chapter-6 of "Managing Systems and Workgroups: A Guide for HP-UX System Administrators" which deals with filesystem maintenance:
http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2002 02:23 PM
08-17-2002 02:23 PM
Re: /var
swlist -l product|grep JFS
PHCO_20030 1.0 Enhance ln(1) to work with JFS ACLs.
PHCO_20031 1.0 Enhance ls(1) to work with JFS ACLs.
PHCO_20032 1.0 Enhance mv(1) to work with JFS ACLs.
PHCO_2003 1.0 Enhance rm(1) to work with JFS ACLs.
PHCO_20034 1.0 Enhance shar(1) to work with JFS ACLs.
PHCO_20039 1.0 Enhance unpack(1) to work with JFS ACLs
PHKL_14763 1.0 JFS extended map inodes cause fsck failure
PHKL_18543 1.0 PM/VM/UFS/async/scsi/io/DMAPI/JFS/perf patch
PHKL_18800 1.0 Cumulative JFS patch - panic:dirty inval
PHKL_18801 1.0 Fix for JFS fsadm ENOSPC errors
PHKL_20675 1.0 Fix JFS 3.1 hang, data corruption
PHKL_21491 1.0 fix VxFS(JFS 3.1) fsadm hang
I will do this.
shutdown 0
fuser -u /dev/vg00/lvol10
lvextend -L 1200 /dev/vg00/lvol10
umount /var
extendfs -F vxfs /dev/vg00/rlvol10
mount /var
shutdown -r 0
Is correct?
Thanks everyone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2002 07:43 AM
08-18-2002 07:43 AM
Re: /var
OK, since you don't have Online JFS licensed, you are going to need to unmount /var to increase its size. The easiest way to do this is to first reboot your system into single-user mode (in which /var and /usr are not mounted):
1. shutdown -ry 0
2. Interrupt the boot process
3. boot pri #...at the ISL prompt
4. interact with ISL? Y #...response is Y
5. hpux -is #...to boot to single user mode
6. lvextend -L
7. extendfs /dev/vg00/rlvolX #...note (r)aw device
8. shutdown -ry 0 #...and you're done!
Regards!
...JRF...