- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP RP5700 SAN Storagetek D240 mounting
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
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-17-2008 05:19 PM
тАО02-17-2008 05:19 PM
I've been using Storagetek D240 a SAN unit mounting to HP RP5700. It almost out of space and it need a hard disk expansion. It store all the Oracle data. If I expand the SAN hard disk, do I need to configure my HP-UX or hard disk expansion will be change automatically. It mounted on /u01 and it's filesystem was /dev/vg01/lvol9.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 05:37 PM
тАО02-17-2008 05:37 PM
Re: HP RP5700 SAN Storagetek D240 mounting
adding more disk or expand your storage will require you to perform minor volume group configuration.
Assuming its under vg01.
When you get your d240 expand, make sure the engineer configure the lun to be same size with the ones you have. You can check your lun (disk) size with the following command:
# vgdisplay -v
(check for physical volumes, let say its c1t1d0)
You can check the size with
# diskinfo /dev/rdsk/c1t1d0
Get a copy of ioscan before adding new disk to D240.
# ioscan -funC disk > /tmp/ioscan-funC-disk.txt
When the engineer configure the newly additional disk and assign the luns accordingly, scan the disks.
# ioscan -fnC disk
You shall see additional new disks. Compare it with ioscan output earlier (in /tmp/ioscan-funC-disk.txt) Then, init the disk and expand vg01 to include the new disk.
# pvcreate -f /dev/rdsk/c#t#d#
# vgextend vg01 /dev/dsk/c#t#d#
Unmount the filesystem
# umount /u01
Now, extend your logical volume size. Assuming your existing is 20GB, and u want to add 10Gb more.
# lvextend -L 30720M /dev/vg01
Increase the filesystem and mount it back.
# extendfs -F vxfs /dev/vg01/rlvol9
# mount /u01
It should show the new size.
good luck!
ps: dont forget about the points, thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 05:57 PM
тАО02-17-2008 05:57 PM
Re: HP RP5700 SAN Storagetek D240 mounting
Thanks for your help. But after I check with my finance, we purchase a 6 X 73GB 10K Fibre drive (F736). When I run command bdf it stated only 140GB mounted on /u01 and it's filesystems /dev/vg01/lvol9. We suppose to have 438GB space on SAN. Where's the rest go. In /dev there is 3 folders vg00, vg01 and vg02.
This is what have been display when I run command bdf.
filesystems mounted on
/dev/vg00/lvol3 /
/dev/vg00/lvol1 /stand
/dev/vg00/lvol8 /var
/dev/vg00/lvol7 /usr
/dev/vg01/lvol9 /u01
/dev/vg00/lvol4 /tmp
/dev/vg00/lvol6 /opt
/dev/vg00/lvol5 /home
If I have to expand the SAN hard disk. Can I use a procedure like stated in your previous reply.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 06:22 PM
тАО02-17-2008 06:22 PM
Re: HP RP5700 SAN Storagetek D240 mounting
you have to understand, most fibrechannel storage are raid capabilities.
In this case, i'm not sure how the STK engineer configured the storage for you. He/She may had it configured as raid-1 and raid 5 groups and divided those groups to severals luns. From yr system, you will see these luns as `individual disks`.
configured all disks as raid 1 will have you 50% of the entire disk capacity. Raid 5 will allow you to have at least more than 75% of the entire disk capacity. This is due to raid 5 need at least 1 disk for parity. You also have to check whether yr storage is configured with spare disk.
In this case, before we go any futher, it worth to check your current vg configuration.
please post the following output:
# vgdisplay -v
# ioscan -funC disk
Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 06:28 PM
тАО02-17-2008 06:28 PM
Re: HP RP5700 SAN Storagetek D240 mounting
Please find attachment for my vgdisplay and iosan output command
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 07:28 PM
тАО02-17-2008 07:28 PM
Re: HP RP5700 SAN Storagetek D240 mounting
it seems vg01/vg02 have pvlinks for dual path. That means c8t0d0=c11t0d0,c8t0d1=c11t0d1 and so on.....
in this case, you could easily vgextend your vg01. But pls make sure with your colleague or dba that the other D240 disks c8t0d2 or others are not being used by any apps/database.
# pvcreate -f /dev/rdsk/c11t0d2
# vgextend /dev/vg01 /dev/dsk/c11t0d2
Then perform lvextend and extendfs as i gave earlier or use fsadm to increase it online.
When complete, extend vg01 to include the alternate path for c11t0d2. To confirm c11t0d2 is the same c8t0d2:
# echo "0x2008?4D" | adb /dev/dsk/c11t0d2
# echo "0x2008?4D" | adb /dev/dsk/c8t0d2
If both disks are the same lun, both devices should show the same output. If they do, then do:
# vgextend /dev/vg01 /dev/dsk/c8t0d2
You can confirm the pvlink is set accordinly in:
# vgdisplay -v vg01 | more
Scroll down for physical volumes, you should see c8t0d2 is set as Alternate link.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 07:39 PM
тАО02-17-2008 07:39 PM
Re: HP RP5700 SAN Storagetek D240 mounting
How my oracle data inside. Is it intact or it will tamper. To play safe, I should backup all the data inside but I need to confirm the data is intact, Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 08:31 PM
тАО02-17-2008 08:31 PM
Re: HP RP5700 SAN Storagetek D240 mounting
In general if you are adding disk to any VG or extending file system did not touch the data inside .. If you have online JFS installed in your server, you can do this on line also.
I am giving 2 places , where you need to take care while doing this change to avoid any data loss
1 ├п while using pvcreate ..Make sure you are applying this command on a new disk only.
2 ├п While giving fsadm command, make sure the size should be the new file system space . (if you provide a wrong input i.e the size to extend then it may cause a file system shrink and will cause a data loss)
NAir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 08:32 PM
тАО02-17-2008 08:32 PM
Solutionyes. The data will be intact. I assume you refering your data in /u01, right? Increasing logical volume and filesystem size wont affect your files in it.
A good backup is always a good precautions steps before you do anything to system.
Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 09:05 PM
тАО02-17-2008 09:05 PM
Re: HP RP5700 SAN Storagetek D240 mounting
execute the following and you will find your server model:
# echo "map selall information;wait infolog quit ok" | cstm | grep "Model" | head -3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 10:07 PM
тАО02-17-2008 10:07 PM
Re: HP RP5700 SAN Storagetek D240 mounting
cstm not found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2008 10:44 PM
тАО02-17-2008 10:44 PM
Re: HP RP5700 SAN Storagetek D240 mounting
If you are looking for just model name
I hope this command will solve the purpose
#model
Nair
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2008 12:00 AM
тАО02-18-2008 12:00 AM
Re: HP RP5700 SAN Storagetek D240 mounting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2008 01:33 AM
тАО02-18-2008 01:33 AM
Re: HP RP5700 SAN Storagetek D240 mounting
As per my understanding about RAID5 you should get 5 disk spaces as available space after configuring the array.
Considering that you did not keep any hot spare disk
Nair
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2008 01:36 AM
тАО02-18-2008 01:36 AM
Re: HP RP5700 SAN Storagetek D240 mounting
>>> cstm command not found
it seems onlineDiag not installed.
I've configured several IBM/HP/Compaq fibrechannel before but not storagetek.
Not sure why the engineer did that or maybe its just the way storagetek handle the disks.
But from vgdisplay output and fstab, it clearly /dev/vg02/lvol9 size is almost 140GB.
So i dont think each lun is 120GB each.
Execute this command to check sizes for the rest of disks.
# diskinfo /dev/rdsk/c11t0d2
Perform the same command for the rest of c11t0d3-d15.
You will see the sizes in 512K. Multiply accordingly to get the exact size.
Anyway, if no other server is currently using/sharing the san storage. You can safely use the remaining disks.
# pvcreate /dev/rdsk/c11t0d2
# pvcreate /dev/rdsk/c11t0d3
.
.
and so on.
Notice the command without -f. If its been used by other hpux system, it will post error the disks is been used by other system.
If nothing appears and no other non-hpux server is sharing the storage, then you can safely proceed to extend volume group.
Rgds