g***@orangemail.nl
2004-05-05 11:33:26 UTC
Dear coleagues,
I have several 2 way stripped volumes which I vould like to convert without
downtime to concat volumes, all on the same disk, disk00.
I do not want to use relayout because of some problems experienced in the
past, I would rather like to use:
Vxassist mirror volname0 layout=concat disk00
Vxassist mirror volname1 layout=concat disk00
Vxassist mirror volname2 layout=concat disk00
Then
Vxplex -o rm dis plex01_of_volname0
Vxplex -o rm dis plex01_of_volname1
Etc.
The problem is that disk00 is already part of the stripped volumes and
attempting the mirror operation gives the following error:
$ vxassist -b mirror picsvol layout=concat disk00
vxvm:vxassist: ERROR: Cannot allocate space to mirror 41943040 block volume
It is of course plenty of space there (and contiguous), the only reason I
think it fails is because for good reason, the sistem refuses to allow me to
build a mirrored volume with both plexes depending on disk00
$ vxdg free
GROUP DISK DEVICE TAG OFFSET LENGTH
FLAGS
rootdg disk00 c2t107d66s2 c2t107d66 374192640 81008640 n
How can I force this operation to happen ? Will the -f flag work in this
case ?
$ vxprint -Aht picsvol
Disk group: rootdg
V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX
UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID
MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE
MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM
MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
v picsvol - ENABLED ACTIVE 41943040 SELECT picsvol-01
fsgen
pl picsvol-01 picsvol ENABLED ACTIVE 41955712 STRIPE 2/128
RW
sd disk00-14 picsvol-01 disk00 340623360 20977920 0/0 c2t107d66
ENA
sd disk01-14 picsvol-01 disk01 334275840 5247360 1/0 c2t107d67
ENA
sd disk02-14 picsvol-01 disk02 334275840 5247360 1/5247360 c2t107d68
ENA
sd disk03-14 picsvol-01 disk03 334275840 5247360 1/10494720 c2t107d69
ENA
sd disk04-14 picsvol-01 disk04 334275840 5230080 1/15742080 c2t107d70
ENA
(As you can see the volume right now is a mess, with even numbered stripes
from one disk and odd numered stripes from 4 different disks.
===========================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen
bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt,
wordt u verzocht de inhoud niet te gebruiken en de afzender direct te
informeren door het bericht te retourneren. Hoewel Orange maatregelen heeft
genomen om virussen in deze email of attachments te voorkomen, dient u ook
zelf na te gaan of virussen aanwezig zijn aangezien Orange niet
aansprakelijk is voor computervirussen die veroorzaakt zijn door deze
email..
The information contained in this message may be confidential and is
intended to be only for the addressee. Should you receive this message
unintentionally, please do not use the contents herein and notify the sender
immediately by return e-mail. Although Orange has taken steps to ensure that
this email and attachments are free from any virus, you do need to verify
the possibility of their existence as Orange can take no responsibility for
any computer virus which might be transferred by way of this email.
===========================================================
I have several 2 way stripped volumes which I vould like to convert without
downtime to concat volumes, all on the same disk, disk00.
I do not want to use relayout because of some problems experienced in the
past, I would rather like to use:
Vxassist mirror volname0 layout=concat disk00
Vxassist mirror volname1 layout=concat disk00
Vxassist mirror volname2 layout=concat disk00
Then
Vxplex -o rm dis plex01_of_volname0
Vxplex -o rm dis plex01_of_volname1
Etc.
The problem is that disk00 is already part of the stripped volumes and
attempting the mirror operation gives the following error:
$ vxassist -b mirror picsvol layout=concat disk00
vxvm:vxassist: ERROR: Cannot allocate space to mirror 41943040 block volume
It is of course plenty of space there (and contiguous), the only reason I
think it fails is because for good reason, the sistem refuses to allow me to
build a mirrored volume with both plexes depending on disk00
$ vxdg free
GROUP DISK DEVICE TAG OFFSET LENGTH
FLAGS
rootdg disk00 c2t107d66s2 c2t107d66 374192640 81008640 n
How can I force this operation to happen ? Will the -f flag work in this
case ?
$ vxprint -Aht picsvol
Disk group: rootdg
V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX
UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID
MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE
MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM
MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
v picsvol - ENABLED ACTIVE 41943040 SELECT picsvol-01
fsgen
pl picsvol-01 picsvol ENABLED ACTIVE 41955712 STRIPE 2/128
RW
sd disk00-14 picsvol-01 disk00 340623360 20977920 0/0 c2t107d66
ENA
sd disk01-14 picsvol-01 disk01 334275840 5247360 1/0 c2t107d67
ENA
sd disk02-14 picsvol-01 disk02 334275840 5247360 1/5247360 c2t107d68
ENA
sd disk03-14 picsvol-01 disk03 334275840 5247360 1/10494720 c2t107d69
ENA
sd disk04-14 picsvol-01 disk04 334275840 5230080 1/15742080 c2t107d70
ENA
(As you can see the volume right now is a mess, with even numbered stripes
from one disk and odd numered stripes from 4 different disks.
===========================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen
bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt,
wordt u verzocht de inhoud niet te gebruiken en de afzender direct te
informeren door het bericht te retourneren. Hoewel Orange maatregelen heeft
genomen om virussen in deze email of attachments te voorkomen, dient u ook
zelf na te gaan of virussen aanwezig zijn aangezien Orange niet
aansprakelijk is voor computervirussen die veroorzaakt zijn door deze
email..
The information contained in this message may be confidential and is
intended to be only for the addressee. Should you receive this message
unintentionally, please do not use the contents herein and notify the sender
immediately by return e-mail. Although Orange has taken steps to ensure that
this email and attachments are free from any virus, you do need to verify
the possibility of their existence as Orange can take no responsibility for
any computer virus which might be transferred by way of this email.
===========================================================