- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fs type and fs entension
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
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
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
10-31-2011 04:17 AM
10-31-2011 04:17 AM
fs type and fs entension
Want to increase /opt file system size from 1.5Gb to 2GB
In vgdisplay -v vg00 - I can see vg00 has many free PEs.
How do I know what filesystem type it is?
How do I know if it has online jfs?(to avoid unmounting /opt)
# uname -a
HP-UX xxxx B.11.23 U ia64 4213102252 unlimited-user license
#
# swlist|grep -i jfs
#
# swlist -l product|grep -i jfs
JFS B.11.23 The Base VxFS File System
PHKL_35242 1.0 JFS3.5 bmap performance improvement
PHKL_38902 1.0 JFS3.5 DIO performance; extent rollback
nmlu032-uklr #
Thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2011 06:22 AM
10-31-2011 06:22 AM
Re: fs type and fs entension
To see if you have Online JFS installed, run the 'vxlicrep' command. You should get something that looks like this:
root@sg1:/ # vxlicrep
VERITAS License Manager vxlicrep utility version 3.02.006
Copyright (C) 1996-2004 VERITAS Software Corp. All Rights reserved.
Creating a report on all VERITAS products installed on this system
-----------------***********************-----------------
License Key = ########################
Product Name = VERITAS File System
License Type = PERMANENT
Site License = YES
Features :=
HP_OnlineJFS = Enabled
Note the last line. That means Online JFS is enabled.
To determine your filesystem type check /etc/fstab. I can almost guarantee that /opt is a VxFS filesystem.
For example:
root@sg1:/ # grep /opt /etc/fstab
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
Note the 3rd column. That is the filesystem type.
To extend your filesystem, do these steps (assuming Online JFS is enabled and that /opt is /dev/vg00/lvol6):
lvextend -L 2048 /dev/vg00/lvol6
fsadm -b 2048m /opt
You are now done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2011 09:20 AM
10-31-2011 09:20 AM
Re: fs type and fs entension
Thanks. This is the o/p. It is vsfs indeed but no online JFS
# vxlicrep
VERITAS License Manager vxlicrep utility version 3.02.006
Copyright (C) 1996-2004 VERITAS Software Corp. All Rights reserved.
Creating a report on all VERITAS products installed on this system
vxlicrep ERROR V-21-3-1003 There are no valid VERITAS License keys installed in the system.
# grep /opt /etc/fstab
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol9 /opt/ignite vxfs delaylog 0 2
/dev/vg00/lv_ignite /var/opt/ignite vxfs delaylog,largefiles 0 2
#
Able to ping the server...but
Server has become inaccessible after this:
# umount /opt
umount: cannot unmount /opt : Device busy
umount: return error 1.
# umount /opt
umount: cannot unmount /opt : Device busy
umount: return error 1.
# fuser /opt
/opt: 6964c 11321c
# ps -ef|grep 6964
root 11363 6964 1 14:22:07 pts/0 0:00 ps -ef
root 6964 6929 0 14:07:50 pts/0 0:00 -sh
root 11364 6964 0 14:22:07 pts/0 0:00 grep 6964
# ps -ef|grep11321
# ps -ef|grep 11321
root 11514 6964 0 14:22:25 pts/0 0:00 grep 11321
# who
root console Sep 18 15:56
root pts/0 Oct 31 14:07
# fuser -ck /opt
/opt: 2290m 694t 7857mt 912mt 934m 22728co 1321m 1336m 1356m 1346m 1370m 1420mt 1413t 1586mt 1421mt 1422mt 1423mt 1426mt 1427mt 1428t 1597ct
When I try to restart putty session... the error I get is attached
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2011 09:36 AM
10-31-2011 09:36 AM
Re: fs type and fs entension
/opt is one of those that you should really extend from single-user mode so you are sure that no one is using.
By running the 'fuser -ck' on /opt it is possible that you killed some processes needed by the operating system.
Very rarely do I recommend using the '-k' option with fuser.
If you were using SSH to access the server, one of the processes that you killed with the 'fuser -ck' command was likely the SSH daemon.
Now your option is to try accessing the server from the console. However, depending on the processes that were killed, that may not be an option either. You may be forced to restart the server.
- Tags:
- fuser
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2011 01:20 AM
11-01-2011 01:20 AM
Re: fs type and fs entension
Unfortunately we cannot find its MP IP(iLO)
Making arrangements to hard reset it in our data centre.
I wonder why /opt is special...that it needs to be extended in single user mode.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2011 01:45 AM
11-01-2011 01:45 AM
Re: fs type and fs extension
>I wonder why /opt is special... that it needs to be extended in single user mode.
Because as soon as the system comes up, there are several diagnostic demons that run from /opt/.
fuser(1m) will make it obvious.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2011 04:46 AM
11-01-2011 04:46 AM
Re: fs type and fs extension
Hi:
In the absence of OnlineJFS you need to extent '/opt' in single user mode, as already noted so that no processes are started that require '/opt' to be mounted. This will likely include the SSH daemon, so be prepared to work from the console.
Boot into single-user mode. You can either use the LVM commands in '/sbin' or you can mount '/usr' to use the commands there. When you have finished extending your '/opt' filesystem, reboot normally. This is one simple, clean way to resume normal processing.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2011 06:23 AM
11-01-2011 06:23 AM
Re: fs type and fs extension
>>I wonder why /opt is special... that it needs to be extended in single user mode
It's not that /opt is special. It is just that /opt is one of several file systems that are in use immediately after the system boots. /var and /usr are the same, and /tmp to a lesser extent.
You could have the same situation with application file systems once the application is started.
This is why Online JFS is a must have, in my opinion, on all systems.