- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Add a new filesystem to a modular package.
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
тАО02-09-2011 07:12 AM
тАО02-09-2011 07:12 AM
Add a new filesystem to a modular package.
Can you please advice if this is the right procedure to add a new filesystem to a modular package.
VG LVM 2.2
Node 1
lvcreate -L 100 -n mynewfs vg02
newfs -F /dev/vg02/rmynewfs
vgexport -p -v -s -m vg02.map vg02
rcp vg02.map to NODE2
Node2
vgexport vg02
mknod /dev/vg02/group c 64 0x040000
vgimport -v -s -m vg02.map vg02
In the package config file in NODE 1
add the following lines:
fs_name /dev/vg02/mynewfs
fs_server ""
fs_directory /mynewfsdir
fs_mount_opt "-o rw"
fs_umount_opt "-s"
fs_fsck_opt "-s"
fs_type "vxfs"
And rcp the file to the second node
Is this the right procedure?
Regards,
Joao Rei
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2011 07:36 AM - last edited on тАО09-27-2011 04:18 PM by Kevin_Paul
тАО02-09-2011 07:36 AM - last edited on тАО09-27-2011 04:18 PM by Kevin_Paul
Re: Add a new filesystem to a modular package.
hi,
Your are in almost right procedure.
Anyhow have a look on below discussions too.
http://h30499.www3.hp.com/t5/Serviceguard/Adding-new-file-system-in-existing-running-SG-Cluster/m-p/4743728#M19210
http://h30499.www3.hp.com/t5/Serviceguard/create-new-vg-under-SG-cluster/m-p/5267896#M25335
Rgds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2011 07:49 AM
тАО02-09-2011 07:49 AM
Re: Add a new filesystem to a modular package.
Instead of copying the package config file do I need to cmapplyconf. Can someone give the full command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2011 05:15 PM
тАО02-09-2011 05:15 PM
Re: Add a new filesystem to a modular package.
on both nodes mkdir /mynewfsdir
make sure you stop the package
do a cmapplyconf
then run the package
you do not need to rcp the file to the other node... its a modular pacakge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2011 11:04 PM
тАО02-09-2011 11:04 PM
Re: Add a new filesystem to a modular package.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2011 06:08 AM
тАО02-10-2011 06:08 AM
Re: Add a new filesystem to a modular package.
mkdir /dev/vg02
According to the Managing Serviceguard manual, you should be able to add a new file system while the package is running. However, if you make a typo and the file system mount does not occur properly when cmapplyconf completes, the package will be halted! It is safer to add the new file system with the package down.