Sponsored Content
Operating Systems AIX Help urgent : vio server - add extral disk on virtual lpar Post 79871 by touny on Monday 1st of August 2005 07:05:28 PM
Old 08-01-2005
Data Help urgent : vio server - add extral disk on virtual lpar

Hi,
I define 2 new LV on the vio server and run a cfgmgr on the partition and see my 2 new hdisk (hdisk6 and hdisk7).
I extend my vg vg000 (on the partition) and add the 2 hdisks.
I had a filesystem on the vg000 and when I added the disk I would like to increase the filesystem. But I cannot do a mirrorvg of vg000, I had an error message saying it cannot perform the mirror there is no lv ... but there is a lv and filesystem mounted ...
I tried command on line and by smitty but the same message.

I did a test to see if I stop one vio if my vg will be still available:
On the partition I have rootvg, vg000 and vg001
When I stopped one vio server:
I can see rootvg, vg001 but vg000 I had the following message:
# lsvg -l vg000
0516-034 : Failed to open VG special file. Probable causeis the VG was forced offline. Execute the varyoffvg and varyonvgcomma

So now I am sure that I need to do something after adding the new disk, redo the mirror but I dopn't how to do it as it was failed...

# lsvg -p rootvg
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 575 331 101..00..00..115..115
hdisk3 missing 575 575 115..115..115..115..115

lsvg -p vg001
vg001:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk2 active 31 25 07..00..06..06..06
hdisk5 active 31 25 07..00..06..06..06

# lsvg -p vg000
0516-034 : Failed to open VG special file. Probable causeis the VG was forced offline. Execute the varyoffvg and varyonvgcommands to bring the VG online.

So if you have any idea what to do when you add extra disks on a vg already defined to make sure that the mirroring is good if we lose one vio server we still have the vg well defined on the partition?
Thanks in advance
 

10 More Discussions You Might Find Interesting

1. AIX

Lost root password in LPAR (VIO Server).

Hi, I've lost the root password in a virtual partition created in a IBM Vio Server. May I recover that somehow? Thanks (2 Replies)
Discussion started by: r4mp4g3
2 Replies

2. AIX

LPAR and vio disk mapping

We have a frame the uses 2 vios that assign disk storage to LPAR's. We have a LPAr with multiple disk and I want to know how do I tell which vio is serving the disk. For example the LPAr has hdisk 0, 1, 2, 3 all the same size. I want to know which vio is serving hdisk0, 1. (4 Replies)
Discussion started by: daveisme
4 Replies

3. AIX

VIO Backing Disk LPAR how to find which one ?

hello Folks, my vio: $ lsmap -all SVSA Physloc Client Partition ID --------------- -------------------------------------------- ------------------ vhost0 U9117.MMA.6534BE4-V2-C11 0x00000003 VTD ... (0 Replies)
Discussion started by: filosophizer
0 Replies

4. AIX

LPAR and AIX VIO Disk Mappring for Linux Clients

VIO Server is managing both AIX Clients and Linux Clients. For AIX Clients, we could do a disk mapping from slot numbers to VIO and also uname -L to determine the lparid and serial number frame its running on. From a Linux Client, How do I know which IBM frame its running on? Any command to... (4 Replies)
Discussion started by: rpangulu
4 Replies

5. AIX

Possible to connect a LPAR to two different VIO's?

Just a question which may seem dumb to some out there, but then again I am not a super technie so that's my excuse. Is it possible to say provision a test AIX LPAR (has a 10gb boot lun and 20gb data) under a VIO which has connectivity to SAN Array A so it can see the disks provisioned to it,... (2 Replies)
Discussion started by: Johnny1314
2 Replies

6. AIX

vio server's rootvg disk migratepv

Hi I need to do the migratepv for the rootvg disks of the vio servers ? The current rootvg disks are on DMX3 storage and the new disks will be given from VMAX. Our setup is dual vio servers with multipathing to the vio clients. What is the command to do the migratepv for the vio rootvg disks... (5 Replies)
Discussion started by: newtoaixos
5 Replies

7. AIX

VIO server does not show new LPAR

Hi All, I've been trying to create a new LPAR for some days now but I can't get the VIO server to recognize the new LPAR. This is what I did: On HMC create new LPAR On HMC create new virtual scsi adapter for LPAR in VIO profile On HMC add new virtual scsi adapter for LPAR with DLPAR... (6 Replies)
Discussion started by: petervg
6 Replies

8. AIX

PowerHA Disk on VIO Server

Hello AIX GURU's Can anybody tell me the steps to crate shared VG (enhanced concurent) for my Lpars from VIO server? my questions are: 1. Should I crate Enhanced Concurent VG in VIO and map it using virtual Scsi to Lpar? or 2. Can I just create virtual SCSI in VIO and map to Lpar and... (1 Reply)
Discussion started by: Vit0_Corleone
1 Replies

9. AIX

VIO and LPAR disk/fcs communications

:wall::wall::wall: 1. I have created an LPAR in the HMC. 2. I have allocated the storage from an Hitachi AMS2500 and assigned it to the host group. 3. I have zoned the LPAR and Storage on a Brocade 5100. (The zone sees the AMS) Next I activated the LPAR in the HMC, SMS mode for the mksysb... (3 Replies)
Discussion started by: Dallasguy7
3 Replies

10. AIX

VIOS: Extend virtual disk assigned to running lpar?

Hello, VIOS 2.2.1.4 using IVM. I'm trying to extend a virtual disk assigned to a running lpar so that I can expand the lpar's datavg and grow some filesystems for the user. Storage admin expanded the lun and new size was reflected in VIO right away. I then needed the storage pool to... (2 Replies)
Discussion started by: j_aix
2 Replies
voldisksetup(8) 					      System Manager's Manual						   voldisksetup(8)

NAME
voldisksetup - Sets up a disk for use with the Logical Storage Manager (LSM) SYNOPSIS
/usr/sbin/voldisksetup [-i] { diskname... | partition... } [attribute...] OPTIONS
The voldisksetup command takes the following option: Normally, voldisksetup simply creates partitions for use with the Logical Storage Man- ager. If the -i (initialize) option is specified, a disk header is added and an empty configuration is written on the disk. This operation destroys any previous LSM database contents on the disk. DESCRIPTION
The voldisksetup command is normally called by the voldiskadd command as part of initial disk configuration and is not usually called directly. The voldisksetup utility configures one or more disks for use by the Logical Storage Manager. A valid disk label must be installed on the disk before calling voldisksetup. The diskname and partition parameters specify the physical addresses of one or more disks and/or partitions being added to LSM. The format is dskn for an entire disk and dsknp for a specific partition. The n is the device unit number and p is a partition identifier in the range a through h). NOTES
The following options to voldisksetup are for Compaq internal use only: Overrides partition overlap checks. Suppresses overlap check mes- sages. ATTRIBUTES
The following attributes can be specified to affect the layout strategy used by voldisksetup: Specifies the length of the public area to create on the disk. This defaults to the size of the disk minus the private area on the disk. Specifies the length of the private area to create on the disk. The default is 4096 sectors. Disables the setup of kernel logs and configuration databases on the disk. The size of the private area is not changed, but it will not contain the normal private data. This attribute is ignored unless the -i option was sup- plied on the command line. Enables the setup of kernel logs and configuration databases on the disk (default). This attribute is ignored unless the -i option was supplied on the command line. Specifies the number of configuration copies and log copies to be initialized on the disk. This defaults to 1. Specifies the length in sectors of each configuration copy. The default values are calculated based on the value of nconfig. Specifies the length in sectors of each log copy. The default values are calculated based on the value of nconfig. Specifies a user-defined comment. ERRORS
You may receive the following messages when using the voldisksetup command: special-device or an overlapping partition is open This message indicates that you tried to initialize an LSM disk on a partition or a disk that is actively in use. The partition could be a mounted UFS or AdvFS file system, initialized as an LSM disk or used as a swap device. special-device is marked in use for fstype in the disklabel. If you continue with the operation you can possibly destroy existing data. CONTINUE? [y/n] This message indicates that you tried to initialize an LSM disk on a partition that is not currently in active use but is marked for use in the disk label's partition map. For example, the partition may be part of a UFS filesystem (4.2BSD) or an AdvFS domain. If you know that the partition you specified to voldisksetup does not contain any data, you can choose to override the warning. In this case, the fstype in the disk label will be modified to an LSM fstype such as LSMsimp, LSMpubl or LSMpriv. The exact fstype depends on whether a disk or a partition is given as an argument to voldisksetup. Note that you can use the command disklabel -s to set the fstype in the disk label to unused for partitions that do not contain any valid data. See disklabel(8) for more information. Partition(s) which overlap special-device are marked in use. If you continue with the operation you can possibly destroy existing data. CONTINUE? [y/n] This message indicates that the partition you specified is not marked for use, but other, overlapping partitions on the disk are marked for use. If you override this warning, the fstype in the disk's label will be modified. The partition you specified to voldisksetup will be marked as in use by LSM and all overlapping partitions will be marked UNUSED. The following examples illustrate these messages: Initializing an LSM simple disk on a partition that is open and actively in use: # /usr/sbin/voldisksetup -i dsk11c dsk11c or an overlapping partition is open. Initializing an LSM sliced disk on a disk which has partition g marked for use by UFS (4.2BSD): # /usr/sbin/voldisksetup -i dsk11 /dev/rdsk11g is marked in use for 4.2BSD in the disklabel. If you continue with the operation you can possibly destroy existing data. CONTINUE? [y/n] Partition g of disk dsk11 is marked for use by UFS (4.2BSD). If UFS is not actively using this partition and the partition does not contain any data, you may want to override this warning, by answering y. In this case, partition g will be marked as LSMpubl and partition h will be marked as LSMpriv in the disk label. Initializing an LSM simple disk on a partition whose overlapping parti- tions are marked for use: # /usr/sbin/voldisksetup -i dsk11c Partition(s) which overlap /dev/rdsk11c are marked in use. If you continue with the operation you can possibly destroy existing data. CONTINUE? [y/n] Partition c, which is being initialized into LSM, is not currently in use, but other partition(s) which overlap with partition c are marked in use in the disk label. If you answer y, partition c on disk dsk11 will be marked LSMsimp in the disk label and all parti- tions that overlap partition c will be marked UNUSED. Initializing an LSM disk on a disk that has no disk label: # /usr/sbin/voldisksetup -i dsk11 The disklabel for dsk11 does not exist or is corrupted. See disklabel(8) for information on installing a disk label on a disk. SEE ALSO
disklabel(8), volintro(8), voldisk(8), voldiskadd(8) voldisksetup(8)
All times are GMT -4. The time now is 02:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy