- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Serviceguard Extend a Filesystem
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
тАО07-31-2008 02:19 AM
тАО07-31-2008 02:19 AM
INFO BELOW
uname -a
HP-UX nears B.11.11 U 9000/800 605389312 unlimited-user license
nears (/home/root) # model
9000/800/N4000-55
nears (/home/root) # bdf /dbdata
Filesystem kbytes used avail %used Mounted on
/dev/vgars/lvol29 30720000 27262696 3405416 89% /dbdata
nears (/home/root) # cmviewcl -v
CLUSTER STATUS
bears up
NODE STATUS STATE
lbears up running
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/1/0/0 lan2
STANDBY up 0/0/0/0 lan0
PRIMARY up 0/3/0/0 lan3
STANDBY up 0/9/0/0 lan1
PACKAGE STATUS STATE AUTO_RUN NODE
RPTEARS up running disabled lbears
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service up 0 0 RPTEARS
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled lbears (current)
NODE STATUS STATE
nears up running
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/0/0/0 lan0
PRIMARY up 0/4/0/0 lan1
STANDBY up 1/12/0/0 lan3
STANDBY up 0/5/0/0 lan2
PACKAGE STATUS STATE AUTO_RUN NODE
EARS up running enabled nears
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service up 0 0 EARS
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled nears (current)
Alternate up enabled lbears
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 02:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 02:45 AM
тАО07-31-2008 02:45 AM
Re: Serviceguard Extend a Filesystem
I think you can do that with no stop.
If only you have to extend the filesystem size then on the node with package/VG active:
lvextend -L
fsadm -F vxfs -b
(this assumes you have OnlineJFS)
Instead if you have to add a PV before of extending lvol/filesystem then on the node with package/VG active:
1- vgextend /dev/
2- and then lvextend/fsadm as above;
3- vgexport -p from this node and vgimport onto the secondary one.
HTH.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 03:07 AM
тАО07-31-2008 03:07 AM
Re: Serviceguard Extend a Filesystem
JFS B.11.11 The Base VxFS File System
PHKL_24026 1.0 JFS Filesystem swap corruption
PHKL_28512 1.0 Fix for POSIX_AIO in JFS3.3
PHKL_29115 1.0 JFS Direct I/O cumulative patch
PHKL_30366 1.0 JFS3.3;ACL patch
PHKL_34805 1.0 JFS3.3 patch; mmap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 03:10 AM
тАО07-31-2008 03:10 AM
Re: Serviceguard Extend a Filesystem
vgdisplay -v /dev/vgars
--- Volume groups ---
VG Name /dev/vgars
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 13
Open LV 10
Max PV 16
Cur PV 10
Act PV 10
Max PE per PV 8683
VGDA 20
PE Size (Mbytes) 2
Total PE 86810
Alloc PE 74144
Free PE 12666
Total PVG 2
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vgars/ars
LV Status available/syncd
LV Size (Mbytes) 5000
Current LE 2500
Allocated PE 5000
Used PV 4
LV Name /dev/vgars/oracle
LV Status available/syncd
LV Size (Mbytes) 3000
Current LE 1500
Allocated PE 3000
Used PV 2
LV Name /dev/vgars/data1
LV Status available/syncd
LV Size (Mbytes) 4000
Current LE 2000
Allocated PE 4000
Used PV 8
LV Name /dev/vgars/data4
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 1000
Allocated PE 2000
Used PV 2
LV Name /dev/vgars/ars452
LV Status available/syncd
LV Size (Mbytes) 1000
Current LE 500
Allocated PE 1000
Used PV 2
LV Name /dev/vgars/artmp
LV Status available/syncd
LV Size (Mbytes) 6000
Current LE 3000
Allocated PE 6000
Used PV 8
LV Name /dev/vgars/lvol26
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 1000
Allocated PE 2000
Used PV 2
LV Name /dev/vgars/lvol27
LV Status available/syncd
LV Size (Mbytes) 8096
Current LE 4048
Allocated PE 8096
Used PV 3
LV Name /dev/vgars/lvol29
LV Status available/syncd
LV Size (Mbytes) 30000
Current LE 15000
Allocated PE 30000
Used PV 8
LV Name /dev/vgars/lvol30
LV Status available/syncd
LV Size (Mbytes) 8000
Current LE 4000
Allocated PE 8000
Used PV 3
--- Physical volumes ---
PV Name /dev/dsk/c3t0d0
PV Name /dev/dsk/c7t0d0 Alternate Link
PV Status available
Total PE 8681
Free PE 667
Autoswitch On
PV Name /dev/dsk/c3t1d0
PV Name /dev/dsk/c7t1d0 Alternate Link
PV Status available
Total PE 8681
Free PE 861
Autoswitch On
PV Name /dev/dsk/c3t2d0
PV Name /dev/dsk/c7t2d0 Alternate Link
PV Status available
Total PE 8681
Free PE 2645
Autoswitch On
PV Name /dev/dsk/c3t3d0
PV Name /dev/dsk/c7t3d0 Alternate Link
PV Status available
Total PE 8681
Free PE 2644
Autoswitch On
PV Name /dev/dsk/c3t13d0
PV Name /dev/dsk/c7t13d0 Alternate Link
PV Status available
Total PE 8681
Free PE 1540
Autoswitch On
PV Name /dev/dsk/c4t0d0
PV Name /dev/dsk/c6t0d0 Alternate Link
PV Status available
Total PE 8681
Free PE 0
Autoswitch On
PV Name /dev/dsk/c4t1d0
PV Name /dev/dsk/c6t1d0 Alternate Link
PV Status available
Total PE 8681
Free PE 0
Autoswitch On
PV Name /dev/dsk/c4t2d0
PV Name /dev/dsk/c6t2d0 Alternate Link
PV Status available
Total PE 8681
Free PE 0
Autoswitch On
PV Name /dev/dsk/c4t3d0
PV Name /dev/dsk/c6t3d0 Alternate Link
PV Status available
Total PE 8681
Free PE 0
Autoswitch On
PV Name /dev/dsk/c4t13d0
PV Name /dev/dsk/c6t13d0 Alternate Link
PV Status available
Total PE 8681
Free PE 4309
Autoswitch On
--- Physical volume groups ---
PVG Name grp1
PV Name /dev/dsk/c7t0d0
PV Name /dev/dsk/c3t1d0
PV Name /dev/dsk/c7t2d0
PV Name /dev/dsk/c3t3d0
PV Name /dev/dsk/c7t13d0
PVG Name grp2
PV Name /dev/dsk/c6t0d0
PV Name /dev/dsk/c4t1d0
PV Name /dev/dsk/c6t2d0
PV Name /dev/dsk/c4t3d0
PV Name /dev/dsk/c6t13d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 03:17 AM
тАО07-31-2008 03:17 AM
Re: Serviceguard Extend a Filesystem
so you can extend filesystem without adding a new PV (in that case you should add two toghether to respect the PVG policy).
But you have to umount the filesystem to extend it:
lvxtend -L
umount /
extendfs -F vxfs /dev/vgars/r
mount /dev/vgars/
Umount filesystem means stopping applications that insist on.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 03:26 AM
тАО07-31-2008 03:26 AM
Re: Serviceguard Extend a Filesystem
Hi Richard,
Yes, you can do it
steps:
#bdf /dbdata
/dev/vgars/lvol29 30720000 27262696 3405416 89% /dbdata
All you need is to have free space available in Volume group
vgdisplay vg_name |egrep -i "Free|PE"
Then you can calculate free size
free size in MB =Free PE * PE size
Now check if you have Online JFS installed
swlist |grep -i Online
If yes, run
on the node where file system mounted
lvextend -L new size LV_name
fsadm -b /filesystem mount point
or
If no Online JFS ====Downtime required
Halt the package on the node that using /dbdata
cmhaltpkg -v
This will unmount and remove access to /dbdata
mount vgars in exclusive mode on one of node and extend /dbdata as required
vgdisplay -a e /dev/vgars
lvdisplay /dev/vgars/lvol29
lvextend and then extendfs commands
lvdisplay /dev/vgars/lvol29
Once done
vgcfgbackup vgname
vgdisplay -a n /dev/vgars
start package cmrunpkg -v package name
enable switching cmmodpkg -e
Hope this will solve your query!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 03:28 AM
тАО07-31-2008 03:28 AM
Re: Serviceguard Extend a Filesystem
swlist |grep -i online
B3929DA B.11.23.0512 HP OnLineJFS (Server)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 03:29 AM
тАО07-31-2008 03:29 AM
Re: Serviceguard Extend a Filesystem
One correction:
vgchange -a e vgname
vgchange -a n vgname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 03:33 AM
тАО07-31-2008 03:33 AM
Re: Serviceguard Extend a Filesystem
Better shudown your cluster and do this work after activating you VG. when you have done then inactive that VG and startup your cluster.