Hi
I am looking for some pointers for trouble shooting an issue.
I am running vdbench (currently on a single disk) using the following command
for lun in c9t5000CCA02B241A9Cd0s0; do
/home/vdbench50405/vdbench -f /home/vdbench50405/vdbench.conf lun=$lun -o ${outdir}/vdb_${lun}
done
My vdbench.conf contains
*******************************************
* Note: Order of vdbench.conf definitions *
* For Raw io : Generic HD RG SD WD RD *
* For FS io : Generic HD FSD FWD RD *
*******************************************
* No General Definitions
* Host Definitions (HD)
hd=localhost,jvms=4
* No Reply Group Definitions (RG)
* Storage Definisions (SD)
* variable lun=<disk> need to be passed during vdbench invocation
sd=sd1,lun=/dev/rdsk/$lun,openflags=directio
* Workload Definitions (WD)
wd=seqWr,sd=sd1,rdpct=0,rhpct=0,seekpct=0
wd=seqRd,sd=sd1,rdpct=100,rhpct=0,seekpct=0
wd=rndWr,sd=sd1,rdpct=0,rhpct=0,seekpct=100
wd=rndRd,sd=sd1,rdpct=100,rhpct=0,seekpct=100
wd=rndRW,sd=sd1,rdpct=50,rhpct=0,seekpct=100
* Run Definistions (RD)
rd=default,el=2m,in=5,forxfersize=(4k,64k),forth=(24),iorate=max,pause=20
rd=runRndRd,wd=rndRd
rd=runRndWr,wd=rndWr
rd=runRndRW,wd=rndRW
rd=runSeqRd,wd=seqRd
rd=runSeqWr,wd=seqWr
I am running as root and the file definitely exists yet i receive the error message
07:23:55.368 Undefined size for sd=sd1,lun=c9t5000CCA02B241A9Cd0s0
07:23:55.368 Either the lun or file does not exist, or you do not have permission to open the lun or file.
If I hard code the size of the disk into the vdbench.conf using
sd=sd1,lun=/dev/rdsk/$lun,size=745.21g,openflags=directio
I get the error message
07:27:12.077 Vdbench will attempt to expand a disk file if the requested file size is a multiple of 1mb
07:27:12.077 lun=c9t5000CCA02B241A9Cd0s0 does not exist or is too small. host=localhost
Format gives the following output for the disk
2. c2t5000CCA02B241A9Cd0 <HGST-HUSMM8080ASS200-A210-745.21GB>
/scsi_vhci/disk@g5000cca02b241a9c
And the partition table
Current partition table (original):
Total disk sectors available: 1562807917 + 16384 (reserved sectors)
Part Tag Flag First Sector Size Last Sector
0 usr wm 256 745.20GB 1562807950
1 unassigned wm 0 0 0
2 unassigned wm 0 0 0
3 unassigned wm 0 0 0
4 unassigned wm 0 0 0
5 unassigned wm 0 0 0
6 unassigned wm 0 0 0
8 reserved wm 1562807951 8.00MB 1562824334
I am running jvm
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)