This probably may be a better approach. Mucking around the runtime parameter may not be what one wants since the normal non-auto diskset functionality heavily relys on the ownership. :)
Steve Sanjay Nadkarni wrote: > > Another approach to avoid this issue is make this an auto-take > diskset. One can do that by > > metaset -s my_set -A enable. > > This automatically prevents SVM from issuing SCSI-2 reservations. > Note that you can only have a single host as the owner of the diskset. > I am assuming here that you are using disksets to aggragate drives. I > am not aware of a "multi-initiator", SATA protocol. > > -Sanjay > > > Tony Nguyen wrote: > >> SCSI reservation prevents drives in SVM disksets to be used for other >> purposes. Also, I believe we can't take empty disksets. >> >> -tony >> >> Sanjay Nadkarni wrote: >> >>> >>> The problem here is that one cannot assert SCSI reservation on SATA >>> drives. To resolve this, you need to avoid SVM from issuing SCSI >>> reservation. >>> You can do this by editing the file /etc/lvm/runtime.cf. >>> set ownerioctls=off. >>> >>> >>> -Sanjay >>> >>> >>> Leon Koll wrote: >>> >>>> x86 host with SXCR Build 36 installed, 6 SATA disks connected to >>>> SuperMicro SATA2 HBA. >>>> # metadb -a -f c1t0d0s7 >>>> # metadb >>>> flags first blk block count >>>> a m pc luo 16 8192 >>>> /dev/dsk/c1t0d0s7 >>>> >>>> # metaset -s myset -a -h myhost >>>> # metaset -s myset >>>> >>>> Set name = myset, Set number = 1 >>>> >>>> Host Owner >>>> myhost >>>> # metaset -s myset -t >>>> # metaset -s myset >>>> Set name = myset, Set number = 1 >>>> >>>> Host Owner >>>> davada >>>> >>>> [b]We can see that the measet wasn't taken.[/b] >>>> # metaset -s myset -t >>>> # format >>>> Searching for disks...done >>>> AVAILABLE DISK SELECTIONS: >>>> 0. c1t0d0 <DEFAULT cyl 30398 alt 2 hd 255 sec 63> >>>> /pci at 0,0/pci1022,7450 at a/pci11ab,11ab at 3/disk at 0,0 >>>> 1. c1t1d0 <DEFAULT cyl 30398 alt 2 hd 255 sec 63> >>>> /pci at 0,0/pci1022,7450 at a/pci11ab,11ab at 3/disk at 1,0 >>>> 2. c1t2d0 <ATA-HDS722525VLSA80-A63A-232.89GB> >>>> /pci at 0,0/pci1022,7450 at a/pci11ab,11ab at 3/disk at 2,0 >>>> 3. c1t3d0 <ATA-HDS722525VLSA80-A63A-232.89GB> >>>> /pci at 0,0/pci1022,7450 at a/pci11ab,11ab at 3/disk at 3,0 >>>> 4. c1t4d0 <ATA-HDS722525VLSA80-A6MA-232.89GB> >>>> /pci at 0,0/pci1022,7450 at a/pci11ab,11ab at 3/disk at 4,0 >>>> 5. c1t5d0 <ATA-HDS722525VLSA80-A63A-232.89GB> >>>> /pci at 0,0/pci1022,7450 at a/pci11ab,11ab at 3/disk at 5,0 >>>> Specify disk (enter its number): ^D >>>> [b]Disk addition fails :[/b] >>>> # metaset -s myset -a c1t1d0 >>>> metaset: myhost: myset: failed to reserve any drives >>>> >>>> Reboot doesn't help, the host cannot take metaset and cannot add >>>> drive to metaset. >>>> >>>> Any ideas? >>>> TIA, >>>> -- Leon >>>> >>>> >>>> This message posted from opensolaris.org >>>> _______________________________________________ >>>> lvm-discuss mailing list >>>> lvm-discuss at opensolaris.org >>>> >>>> >>> >> > > _______________________________________________ > lvm-discuss mailing list > lvm-discuss at opensolaris.org