unable to define raw volume to tsm

Joined
Jul 15, 2010
Messages
26
Reaction score
0
Points
0
Location
Pune
I m trying to add raw logical volume to the storage pool but getting this below mentioned error.


tsm: TSMSRV>def v DISKDATA /dev/rddvol_01
ANR2404E DEFINE VOLUME: Volume /dev/rddvol_01 is not available.
ANS8001I Return code 14.

Regards,
Pharthiphan A
 
Since we are using raw logical volume.
Via the os you have to create the volume, and then from the TSM Server issue the define volume pool_name /path/volume_name

Good Luck,
Sias
 
Please tell me what i m doing wrong here..

# lsvg -l tsmdata
tsmdata:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
ddvol_01 jfs 256 256 1 closed/syncd N/A
#

# ls -lrt /dev/rddvol_01
crw-rw---- 1 root system 44, 1 Oct 30 08:45 /dev/rddvol_01
tsm: TSMSRV>q stgpool

Storage Device Estimated Pct Pct High Low Next Stora-
Pool Name Class Name Capacity Util Migr Mig Mig ge Pool
Pct Pct
----------- ---------- ---------- ----- ----- ---- --- -----------
DISKDATA DISK 0.0 M 0.0 0.0 80 30 TAPEDATA
NONE DISK 0.0 M 0.0 0.0 90 70
TAPEDATA LTO4-DC 0.0 M 0.0 0.0 90 70

tsm: TSMSRV>define volume DISKDATA /dev/rddvol_01
ANR2404E DEFINE VOLUME: Volume /dev/rddvol_01 is not available.
ANS8001I Return code 14.

Regards,
Pharthiphan A
 
what is your tsm version. If it's 6.x, the raw volume must be owned by the instance not root.

thanks
 
hi, did you have any succes on creating a diskpool volume on a raw lv? I am expereincing the same....the instance user is owner of the raw lv but still no luck. ANR2404E DEFINE VOLUME: Volume /dev/rtpb02dp01 is not available
 
again if you are using v6.1.x it should be owned by the instance not by the root. your raw logical volume is currently owned by root. after changing the owner you have to restart your tsm.

# ls -lrt /dev/rddvol_01
crw-rw---- 1 root system 44, 1 Oct 30 08:45 /dev/rddvol_01
 
I found the problem. The RAW lv was 1,68 TB...and that is 0,68 TB to much...Maxsize of a RAW lv is 1 TB maximum if you want to use it as a tsm volume.
 
Hi All,

I have a similar problem. One disk has been replaced in the solaris tsm server. The disk is a raw disk, it is formatted and recreated the slices in original size.
I cannot define the TSM volumes in 'DISK' type storagepool. I get the following error:

adsm> def vol datapool /dev/rdsk/c1t2d0s1
ANR2404E DEFINE VOLUME: Volume /dev/rdsk/c1t2d0s1 is not available.

..but strangely I can define it in a 'FILE' storagepool:

adsm> def vol reclaim /dev/rdsk/c1t2d0s1
ANR2206I Volume /dev/rdsk/c1t2d0s1 defined in storage pool RECLAIM (device class FILE).

The disks are in the solaris:

lrwxrwxrwx 1 root other 47 May 30 10:58 c1t2d0s7 -> ../../devices/pci@1f,700000/scsi@2/sd@2,0:h,raw
lrwxrwxrwx 1 root other 47 May 30 10:58 c1t2d0s6 -> ../../devices/pci@1f,700000/scsi@2/sd@2,0:g,raw
lrwxrwxrwx 1 root other 47 May 30 10:58 c1t2d0s5 -> ../../devices/pci@1f,700000/scsi@2/sd@2,0:f,raw
lrwxrwxrwx 1 root other 47 May 30 10:58 c1t2d0s4 -> ../../devices/pci@1f,700000/scsi@2/sd@2,0:e,raw
lrwxrwxrwx 1 root other 47 May 30 10:58 c1t2d0s3 -> ../../devices/pci@1f,700000/scsi@2/sd@2,0:d,raw
lrwxrwxrwx 1 root other 47 May 30 10:58 c1t2d0s2 -> ../../devices/pci@1f,700000/scsi@2/sd@2,0:c,raw
lrwxrwxrwx 1 root other 47 May 30 10:58 c1t2d0s1 -> ../../devices/pci@1f,700000/scsi@2/sd@2,0:b,raw
lrwxrwxrwx 1 root other 47 May 30 10:58 c1t2d0s0 -> ../../devices/pci@1f,700000/scsi@2/sd@2,0:a,raw

OS: SunOS esahqtsm1 5.8 Generic_117350-28 sun4u sparc SUNW,Sun-Fire-V440
TSM Server: 5.4.0.0

Can you help me what is wrong?

Thanks and Regards,
Zoltan
 
Back
Top