Any tips to grow iSCSI LUN


 
Thread Tools Search this Thread
Operating Systems AIX Any tips to grow iSCSI LUN
# 1  
Old 04-22-2011
Any tips to grow iSCSI LUN

Hi,

I have an iSCSI LUN attached to an AIX 5.3 box. It's initial size is 250GB, I just grew it on the SAN to 300GB, but AIX is not seeing the change. Right now I have some processes going and it's eating up the disk space. I need to grow this lun by atleast 30GB otherwise the process with bomb and that will not be good. chvg -g <vgname> is not working. I'm thinking I need to varyoff, then varyon this disk in order to get it to work, but I can't afford that now.

If anyone has any tips and have successfully did this without take the fs offline, I would love to hear it.
# 2  
Old 04-23-2011
Quote:
Originally Posted by bbbngowc
chvg -g <vgname> is not working.
Then something is seriously wrong. Given so few additional data i can only speculate and try to ask the right questions:

- have you had a look in "errpt"? Is there anything relevant?

- Did you try to let "cfgmgr" run? With which outcome?

- Do you use the the LUN directly or over a VIOS? If the second option: have you the same effect as in the LPAR on the VIOS too? If the first option: which drivers do you use to access the disks (SDD, PCMSDD, ??) What are your relevant software releases?

- Sometimes - very rarely - the ODM gets corrupted for no apparent reason. Did you try a "synclvodm" or something such?

I hope this helps.

bakunin
# 3  
Old 04-23-2011
Quote:
have you had a look in "errpt"? Is there anything relevant?
Yip. This is the last entry in the error report.

Date/Time: Wed Feb 9 11:54:46 EST 2011
Sequence Number: 15049
Machine Id: 00CDE13F4C00
Node Id: MurphyT
Class: H
Type: TEMP
Resource Name: hdisk3
Resource Class: disk
Resource Type: osdisk
Location:
VPD:
Manufacturer................LEFTHAND
Machine Type and Model......iSCSIDisk
ROS Level and ID............38353030
Serial Number...............00000000
Device Specific.(Z0)........000005323B001022
Device Specific.(Z1)........000000A8

Description
DISK OPERATION ERROR

Probable Causes
MEDIA
DASD DEVICE

User Causes
MEDIA DEFECTIVE

Recommended Actions
FOR REMOVABLE MEDIA, CHANGE MEDIA AND RETRY
PERFORM PROBLEM DETERMINATION PROCEDURES

Failure Causes
MEDIA
DISK DRIVE

Recommended Actions
FOR REMOVABLE MEDIA, CHANGE MEDIA AND RETRY
PERFORM PROBLEM DETERMINATION PROCEDURES

Quote:
- Did you try to let "cfgmgr" run? With which outcome?
Yip. Came back with no errors

Quote:
- Do you use the the LUN directly or over a VIOS? If the second option: have you the same effect as in the LPAR on the VIOS too? If the first option: which drivers do you use to access the disks (SDD, PCMSDD, ??) What are your relevant software releases?
The LUN is used directly. The default iscsi drivers are being used (if that's what you mean).

Quote:
- Sometimes - very rarely - the ODM gets corrupted for no apparent reason. Did you try a "synclvodm" or something such?
I haven't tried it, can synclvodm be executed while the system is active?

Quote:
I hope this helps.
Very much. Thanks!
# 4  
Old 04-26-2011
Hello again, sorry for not answering earlier. It was easter holidays and i was vacationing abroad.

Quote:
Originally Posted by bbbngowc
to an AIX 5.3 box.
Did you check the technology level? AFAIR "chvg -g" came into AIX at some 5.3-TL, but i can't really remember which. You'll probably find that one easy enough, i suppose.

Quote:
Originally Posted by bbbngowc
The LUN is used directly. The default iscsi drivers are being used (if that's what you mean).
Yes, this is what i meant. I'm not sure if an iSCSI-connection and its drivers is/are able to propagate a LUN change to the AIX machine. Direct FC connections driven by SDD or PCM are able to do so, but that doesn't necessarily meant that the same is the case with iSCSI. Maybe what works over glass doesn't work over copper at all. We exclusively use FC connections, so i can't really help you there for lack of operating experience.

Have you tried a "bootinfo -s"? What does it report, the old or the new size? This should work regardless of the disk being in a VG or not, it questions the driver layer below the LVM.

I hope this helps.

bakunin
# 5  
Old 05-14-2011
Bootinfo shows the old size.

bash-3.00# bootinfo -s hdisk3
256000
# 6  
Old 05-16-2011
If all else fails you could always assign a new 300GB LUN to the VG, use migratepv to migrate from original disk to new and then you can take the original disk away (after doing reducevg of course).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Make an iSCSI LUN clone bootable

trying to do this for a DR situation. I've cloned an iSCSI LUN to another server. I've created an LDOM on it. set the LDOM to auto-boot=false and exported the LUN as a raw disk to the new LDOM. After starting the LDOM and telnetting to it. I can get to the OK prompt and see the disk but when I try... (2 Replies)
Discussion started by: os2mac
2 Replies

2. Red Hat

DM multipath :iscsi lun shows by diff names on two server where its exported

Hi, I am trying to setup multipathing (using DM multipath) for a redhat cluster setup ...all setup is done but issue is : node 1 shows the shared iscsi lun as sdc node 2 shows the same as sdg (changes on reboots) Due to this (i guess) i get i/o error & i can not read files created by... (0 Replies)
Discussion started by: heman96
0 Replies

3. AIX

Netapp iscsi lun

Hi, I have aix 6.1 box. I want to configure iscsi luns from netapp storage. I tried in google but not getting proper solution for that. i m not getting the proper iqn name. Please share me the steps to complete this requirements. Thanks in advance. (1 Reply)
Discussion started by: sunnybee
1 Replies

4. Red Hat

Grow LUN presented on Linux host

Hi, I have a SAN LUN of 550 GB created as an ext3 partition of the entire lun and need to make the lun and partition larger... 600 GB # fdisk -l /dev/sdj Disk /dev/sdj: 590.5 GB, 590558003200 bytes 255 heads, 63 sectors/track, 71797 cylinders Units = cylinders of 16065 * 512 = 8225280... (3 Replies)
Discussion started by: jamba1
3 Replies

5. UNIX for Dummies Questions & Answers

How to change ethernet cable of iscsi initiator (iscsi client)?

how to change ethernet cable of iscsi initiator (iscsi client) (0 Replies)
Discussion started by: pankajd
0 Replies

6. Solaris

Solaris10 -> iscsi -> equiliogic lun

We "lose" the iscsi device after a reboot - i.e., it appears in /dev/rdsk and /dev/dsk but format cannot find it. Obviously, it won't mount either. This happens for two separately defined luns. We must be missing a step in iscsiadm. The luns are defined as targets, we can see them in... (2 Replies)
Discussion started by: jim mcnamara
2 Replies

7. Solaris

Set up iscsi LUN on solaris 9?

Hi, I need to set up iscsi LUN on Solaris 9. I've done it on Solaris 10 with iscsiadm. How do you do it on Solaris 9 though? Currently using Solaris 9 update 2. Your help is appreciated. Thanks, Sparcman (6 Replies)
Discussion started by: sparcman
6 Replies

8. AIX

Help growing iscsi lun

Hi, I have an iSCSI LUN of 200GB. I increased it to 250GB and when I try to increase the size of the vg, I'm getting an error that none of the volumes have increased in size. How can I get the OS to see the additional 50GB? ---------- Post updated at 03:22 PM ---------- Previous update... (9 Replies)
Discussion started by: bbbngowc
9 Replies

9. Solaris

I have LUN ID, how to find disk relate to that LUN ID?

I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer. thanks (4 Replies)
Discussion started by: uuontario
4 Replies

10. UNIX for Advanced & Expert Users

VxVM disk/lun grow

hi, i have a volume on a LUN of an EMC-storage and i need to increase the size. i could increase the size of the LUN on the EMC, i could increase the size of the disk for solaris, but how can i tell the veritas volume manager that the disk is larger now? what i've done: 1. LUN on EMC 2.... (3 Replies)
Discussion started by: pressy
3 Replies
Login or Register to Ask a Question