Hi,
Thanks to Kevin Jones and Thierry Faidherbe who replied to my message...
Kevin was right, so here is his reply:
=================================================================
I had a similar problem doing this.
I believe the problem is that you have used the entire disk area to create
the first striped plex. When you try to add the second (mirror) plex, it
tries to create a logging plex by default, and of course there is no space
available for this - there may be a way to switch this off.
The way I got around it was to use the top down volassist command instead of
the bottom up volmake commands and this seemed to work. The volassist
command has a maxsize flag which gives you the maximum volume size that can
be created.
Not that any of this was documented anywhere !!!
The volassist command is documented much better in the V5.1 LSM manual, far
more than the volmake commands, so I assume this is the way Compaq want us
to go.
=================================================================
So, I removed the volume and used the 'volassist' command:
# volassist -g data_dg make data01vol 355639040 nstripe=5 dsk1 dsk2 dsk3
dsk4 dsk5
# volassist -g data_dg mirror data01vol nstripe=5 dsk8 dsk9 dsk10 dsk11
dsk12
The second command took a few hours to complete (during that time the status
of the mirrored plex was TEMPRMSD, and its mode was WO). Once it was
finished, the output of the 'volprint -ht data02vol' command was like this
(and the volume was started):
Disk group: data_dg
V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID
MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE
MODE
v data01vol fsgen ENABLED ACTIVE 355639040 SELECT -
pl data01vol-01 data01vol ENABLED ACTIVE 355639040 STRIPE 5/128
RW
sd dsk1-01 data01vol-01 dsk1 0 71127808 0/0 dsk1
ENA
sd dsk2-01 data01vol-01 dsk2 0 71127808 1/0 dsk2
ENA
sd dsk3-01 data01vol-01 dsk3 0 71127808 2/0 dsk3
ENA
sd dsk4-01 data01vol-01 dsk4 0 71127808 3/0 dsk4
ENA
sd dsk5-01 data01vol-01 dsk5 0 71127808 4/0 dsk5
ENA
pl data01vol-02 data01vol ENABLED ACTIVE 355639040 STRIPE 5/128
RW
sd dsk8-01 data01vol-02 dsk8 0 71127808 0/0 dsk8
ENA
sd dsk9-01 data01vol-02 dsk9 0 71127808 1/0 dsk9
ENA
sd dsk10-01 data01vol-02 dsk10 0 71127808 2/0 dsk10
ENA
sd dsk11-01 data01vol-02 dsk11 0 71127808 3/0 dsk11
ENA
sd dsk12-01 data01vol-02 dsk12 0 71127808 4/0 dsk12
ENA
Regards,
Zoran
> -----Original Message-----
> From: Zoran Trifunovic (DSL AK)
> Sent: Monday, 5 November 2001 09:51
> To: 'tru64-unix-managers_at_ornl.gov'
> Subject: LSM error
>
> Hi all,
>
> I am trying to create one mirrored and one mirrored&striped LSM volume on
> a new system (DS20, Tru64 v5.0a, rootdg already configured). I am not so
> familiar with LSM, so I probably did something wrong...I created a
> mirrored volume (without DRL) and started it without any problems.
> However, when I created mirrored&striped volume and tried to start it I
> got the following error message:
>
> lsm:volume: ERROR: Volume data01vol has no complete, non-volatile ACTIVE
> plexes
>
> Here is what I did:
>
> - Labelled and initialized disks - here is the output of the "voldisk
> list" command:
>
> # voldisk list
> DEVICE TYPE DISK GROUP STATUS
> dsk0a nopriv root01 rootdg online
> dsk0b nopriv swap01 rootdg online
> dsk0d simple dsk0d rootdg online
> dsk0f nopriv var01 rootdg online
> dsk0g nopriv usr01 rootdg online
> dsk0h simple tmp01 rootdg online
> dsk1 sliced - - online
> dsk2 sliced - - online
> dsk3 sliced - - online
> dsk4 sliced - - online
> dsk5 sliced - - online
> dsk6 sliced - - online
> dsk7a nopriv root02 rootdg online
> dsk7b nopriv swap02 rootdg online
> dsk7d simple dsk7d rootdg online
> dsk7f nopriv var02 rootdg online
> dsk7g nopriv usr02 rootdg online
> dsk7h simple tmp02 rootdg online
> dsk8 sliced - - online
> dsk9 sliced - - online
> dsk10 sliced - - online
> dsk11 sliced - - online
> dsk12 sliced - - online
> dsk13 sliced - - online
>
> - Created a new disk group data_dg and added all disks (except for dsk0
> and dsk7) to this disk group - here is the output of the "volprint -g
> data_dg -dt" command:
>
> DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
>
> dm dsk1 dsk1 sliced 4096 71127888 -
> dm dsk2 dsk2 sliced 4096 71127888 -
> dm dsk3 dsk3 sliced 4096 71127888 -
> dm dsk4 dsk4 sliced 4096 71127888 -
> dm dsk5 dsk5 sliced 4096 71127888 -
> dm dsk6 dsk6 sliced 4096 71127888 -
> dm dsk8 dsk8 sliced 4096 71127888 -
> dm dsk9 dsk9 sliced 4096 71127888 -
> dm dsk10 dsk10 sliced 4096 71127888 -
> dm dsk11 dsk11 sliced 4096 71127888 -
> dm dsk12 dsk12 sliced 4096 71127888 -
> dm dsk13 dsk13 sliced 4096 71127888 -
>
>
> - Here is the hardware topology (output of the "/dev/rdisk/dsk*c command):
>
> dsk0c: character special (19/22) SCSI #0 "BD018635C4" disk #0 (SCSI ID
> #0) (SCSI LUN #0)
> dsk1c: character special (19/38) SCSI #0 "BD03664553" disk #1 (SCSI ID
> #1) (SCSI LUN #0)
> dsk2c: character special (19/54) SCSI #0 "BD03664553" disk #2 (SCSI ID
> #2) (SCSI LUN #0)
> dsk3c: character special (19/70) SCSI #0 "BD03664553" disk #3 (SCSI ID
> #3) (SCSI LUN #0)
> dsk4c: character special (19/86) SCSI #0 "BD03664553" disk #4 (SCSI ID
> #4) (SCSI LUN #0)
> dsk5c: character special (19/102) SCSI #0 "BD03664553" disk #5 (SCSI ID
> #5) (SCSI LUN #0)
> dsk6c: character special (19/118) SCSI #0 "BD03664553" disk #6 (SCSI ID
> #8) (SCSI LUN #0)
> dsk7c: character special (19/150) SCSI #3 "BD018635C4" disk #0 (SCSI ID
> #0) (SCSI LUN #0)
> dsk8c: character special (19/166) SCSI #3 "BD03664553" disk #1 (SCSI ID
> #1) (SCSI LUN #0)
> dsk9c: character special (19/182) SCSI #3 "BD03664553" disk #2 (SCSI ID
> #2) (SCSI LUN #0)
> dsk10c: character special (19/198) SCSI #3 "BD03664553" disk #3 (SCSI ID
> #3) (SCSI LUN #0)
> dsk11c: character special (19/214) SCSI #3 "BD03664553" disk #4 (SCSI ID
> #4) (SCSI LUN #0)
> dsk12c: character special (19/230) SCSI #3 "BD03664553" disk #5 (SCSI ID
> #5) (SCSI LUN #0)
> dsk13c: character special (19/246) SCSI #3 "BD03664553" disk #6 (SCSI ID
> #8) (SCSI LUN #0)
>
>
> - Created mirrored volume data02vol using disks dsk6 and dsk13 (no DRL):
>
> # volmake -g data_dg sd dsk6-01 dsk6,0,71127888
> # volmake -g data_dg sd dsk13-01 dsk13,0,71127888
> # volmake -g data_dg plex data02-01 sd=dsk6-01
> # volmake -g data_dg plex data02-02 sd=dsk13-01
> # volmake -g data_dg -Ufsgen vol data02vol plex=data02-01,data02-02
>
> # volume start data02vol (no problems to start it!)
>
>
> - Created mirrored and striped volume data01vol (first tried without DRL):
>
> # volmake -g data_dg sd dsk1-01 dsk1,0,71127888
> # volmake -g data_dg sd dsk2-01 dsk2,0,71127888
> # volmake -g data_dg sd dsk3-01 dsk3,0,71127888
> # volmake -g data_dg sd dsk4-01 dsk4,0,71127888
> # volmake -g data_dg sd dsk5-01 dsk5,0,71127888
> # volmake -g data_dg sd dsk8-01 dsk8,0,71127888
> # volmake -g data_dg sd dsk9-01 dsk9,0,71127888
> # volmake -g data_dg sd dsk10-01 dsk10,0,71127888
> # volmake -g data_dg sd dsk11-01 dsk11,0,71127888
> # volmake -g data_dg sd dsk12-01 dsk12,0,71127888
>
> # volmake -g data_dg plex data01-01 layout=stripe st_width=64k \
> sd=dsk1-01,dsk2-01,dsk3-01,dsk4-01,dsk5-01
> # volmake -g data_dg plex data01-02 layout=stripe st_width=64k \
> sd=dsk8-01,dsk9-01,dsk10-01,dsk11-01,dsk12-01
>
> # volmake -g data_dg -Ufsgen vol data01vol plex=data01-01,data01-02
>
>
> # volprint -ht data01vol
>
> Disk group: data_dg
>
> V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
> PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID
> MODE
> SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE
> MODE
>
> v data01vol fsgen DISABLED EMPTY 355639632 ROUND -
> pl data01-01 data01vol DISABLED EMPTY 355639632 STRIPE 5/128
> RW
> sd dsk1-01 data01-01 dsk1 0 71127888 0/0 dsk1
> ENA
> sd dsk2-01 data01-01 dsk2 0 71127888 1/0 dsk2
> ENA
> sd dsk3-01 data01-01 dsk3 0 71127888 2/0 dsk3
> ENA
> sd dsk4-01 data01-01 dsk4 0 71127888 3/0 dsk4
> ENA
> sd dsk5-01 data01-01 dsk5 0 71127888 4/0 dsk5
> ENA
> pl data01-02 data01vol DISABLED EMPTY 355639632 STRIPE 5/128
> RW
> sd dsk8-01 data01-02 dsk8 0 71127888 0/0 dsk8
> ENA
> sd dsk9-01 data01-02 dsk9 0 71127888 1/0 dsk9
> ENA
> sd dsk10-01 data01-02 dsk10 0 71127888 2/0 dsk10
> ENA
> sd dsk11-01 data01-02 dsk11 0 71127888 3/0 dsk11
> ENA
> sd dsk12-01 data01-02 dsk12 0 71127888 4/0 dsk12
> ENA
>
>
> - Tried to start the volume:
>
> # volume start data01vol
> lsm:volume: ERROR: Volume data01vol has no complete, non-volatile ACTIVE
> plexes
>
>
> - Removed the volume (using "voledit -r -rm data01vol") and tried to
> create it with DRL, like this:
>
> # volprint -ht data01vol
> Disk group: data_dg
>
> V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
> PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID
> MODE
> SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE
> MODE
>
> v data01vol fsgen DISABLED EMPTY 284511696 ROUND -
> pl data01-01 data01vol DISABLED EMPTY 284511696 STRIPE 4/128
> RW
> sd dsk1-01 data01-01 dsk1 0 71127888 0/0 dsk1
> ENA
> sd dsk2-01 data01-01 dsk2 0 71127888 1/0 dsk2
> ENA
> sd dsk3-01 data01-01 dsk3 0 71127888 2/0 dsk3
> ENA
> sd dsk4-01 data01-01 dsk4 0 71127888 3/0 dsk4
> ENA
> pl data01-02 data01vol DISABLED EMPTY 284511696 STRIPE 4/128
> RW
> sd dsk8-01 data01-02 dsk8 0 71127888 0/0 dsk8
> ENA
> sd dsk9-01 data01-02 dsk9 0 71127888 1/0 dsk9
> ENA
> sd dsk10-01 data01-02 dsk10 0 71127888 2/0 dsk10
> ENA
> sd dsk11-01 data01-02 dsk11 0 71127888 3/0 dsk11
> ENA
> pl data01-03 data01vol DISABLED EMPTY LOGONLY CONCAT -
> RW
> sd dsk5-01 data01-03 dsk5 0 71127888 LOG dsk5
>
>
> - Tried to start the volume, but received the same error message again:
>
> # volume start data01vol
> lsm:volume: ERROR: Volume data01vol has no complete, non-volatile ACTIVE
> plexes
>
>
> Unfortunatelly this error message is not listed in the "LSM error
> messages" section of the LSM manual.
> Any ideas? I would really appreciate your help.
>
> Thanks in advance,
> Zoran
>
Received on Wed Nov 07 2001 - 22:48:31 NZDT