- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- virtual disk
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
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
10-04-2004 03:32 AM
10-04-2004 03:32 AM
virtual disk
I have an EVA5000 attached to un rp5470 with HP-UX1.11. I extended the vitual disk on EVA from 40 to 80 Gb. On HP-UX I see 40Gb. How can I update the information into HP-UX ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 03:41 AM
10-04-2004 03:41 AM
Re: virtual disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 03:42 AM
10-04-2004 03:42 AM
Re: virtual disk
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 06:02 AM
10-04-2004 06:02 AM
Re: virtual disk
This is a destructive operation!
The old data is gone, because the EVA does not present unwritten data. If you read a block that was never written the EVA does not go to the disk - it 'invents' data.
On some operating systems (and users of Secure Path) it will also appear as a new disk, because the EVA assigns a new LUN WWN. You can save the old one and re-assign it to the new virtual disk as long as it is not presented to a host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 08:15 AM
10-04-2004 08:15 AM
Re: virtual disk
There is a possible way of doing this IF you are lucky. I think I saw A. Clay propose it some time ago & it is devilishly cleaver & devious...
The basic idea is to trick LVM into re-creating its meta-data with the right sized disk whilst maintaining the Lvols.
0 - backup EVERYTHING ... just in case ..
1 - vgchange -a n vgxx
2 - ll /dev/vgxx/group # note minor number for step 8
3 - tar cf /dev/vgxx.tar /dev/vgxx
4 - vgcfgbackup vgxx # JUST in case #
5 - vgexport -m /tmp/vgxx.map vgxx
6 - pvcreate -f /dev/rdsk/cXtYdZ
7 - mkdir /dev/vgxx
8 - mknod /dev/vgxx/group c 64 0x00000
9 - vgcreate -p 20480 vgxx /dev/dsk/cXtYdZ
*** step 9 must complete sucessfully ***
10 - tar xf /dev/vgxx.tar
And now you have the VG with an 80GB vDisk... I've not tested it yet, so you might want to give it a whirl on a testbed... if step 9 does not work it is probably becasue -p 20480 is too large, I know 20000 DOES work because I use that value regularly..
Good luck, Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 07:59 PM
10-04-2004 07:59 PM
Re: virtual disk
thanks to all your answers were helpfull and clarifying for me, now i'm going to assign points (I don't forget to do ) but I have another question, What do you think about the idea below ?
Someone tell me : If you use VxFS,LVM (as Volume Manager) and you can use FSADM , you can do the following :
1) BACKUP DATA - to do in any case !
2) lvdisplay -v - to check the Hwpath
3) lvmextend -L "size inMb" \
/dev/vgname/volumename /dev/disk/HWpath
4) fsadm -Fvxfs -b "size inMb" /mpuntpoint
Where "size inMb" is the differences between the original dimension and the new dimension.
What do you (all) think about this ? Is it a good idea? Any idea,suggest will be appreciate
Thanks to all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 08:15 PM
10-04-2004 08:15 PM
Re: virtual disk
lvextend will fail.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 09:17 PM
10-04-2004 09:17 PM
Re: virtual disk
As Sunil just said this will not work, you can check it yourself.
# pvdisplay /dev/dsk/cxtydz
PE Size (Mbytes) X Total PE = 40 GB
The "disk" has to be recreated as an 80 GB disk.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 06:57 AM
10-05-2004 06:57 AM
Re: virtual disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 06:59 AM
10-05-2004 06:59 AM
Re: virtual disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 02:00 PM
10-05-2004 02:00 PM
Re: virtual disk
For the second question:
If you have Online JFS you can do these command. That means you can extend a logical volume withow "unmount"
Just remember: The size in command:
lvextend -L size /dev/vgx/lvxx
has the same size in this command:
fsadm -F vxfs -b size /mount point.
(Hm....you must be carefull: the right command is: lvextend, not: lvmextend!!!)
Hope this hepls.
Regard,
Jim