Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with initializing ide disk in veritas vm

Status
Not open for further replies.

ghopper123

Technical User
Apr 19, 2007
2
US
hello,

i'm a newbie with veritas. i installed free sf basic 4.1. my home system have solaris 10 ver 11/06 x86pc 64bit with 3 ide disks. c0d0 is the root disk.

my problem is initializing the ide c0d1 disk.

vxdiskadm:

Select disk devices to add: [<pattern-list>,all,list,q,?] c0d1
No matching disks found.

Select disk devices to add: [<pattern-list>,all,list,q,?] list

DEVICE DISK GROUP STATUS
c0t0d0 - - online invalid
c0t1d0 - - online invalid
c1t1d0 - - online invalid

tried c0t1d0 but no joy.

c0t1d0

Continue with operation? [y,n,q,?] (default: y)
This disk device does not appear to be valid. The disk may not be
formatted (format(1M)), may have a corrupted VTOC, the device file
for the disk may be missing or invalid, or the device may be turned-off
or detached from the system. This disk will be ignored.
Output format: [Device_Name,Disk_Access_Name]

[c0t1d0,c0t1d0s2]

i don't understand where the target id comes from. there no scsi disk on the system.

AVAILABLE DISK SELECTIONS:
0. c0d0 <DEFAULT cyl 5098 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@f,1/ide@0/cmdk@0,0
1. c0d1 <DEFAULT cyl 4862 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@f,1/ide@0/cmdk@1,0
2. c1d1 <DEFAULT cyl 4862 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@f,1/ide@1/cmdk@1,0

Cylinders
Partition Status Type start End Length %
======== ====== ====== ===== === ====== ===
1 Active Solaris2 1 4864 4864 50

# prtvtoc /dev/rdsk/c0d1s2
* /dev/rdsk/c0d1s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 63 sectors/track
* 255 tracks/cylinder
* 16065 sectors/cylinder
* 4864 cylinders
* 4862 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 48195 78059835 78108029
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 01 0 78108030 78108029
8 1 01 0 16065 16064
9 9 00 16065 32130 48194


i am stuck. help anybody

cheers.
 
I didn't know SF Basic was availble for free, thanks for that!

I just downloaded it and installed it on my Solaris 10 x86 virtual machine, added a couple of 100MB IDE disks to the machine and tried to add them to VxVM. I ran into the same problem as you... even after using fdisk to create a partition table and format to label the disk.

I then tried the manual method, telling it not to try and use CDS:

[tt]/usr/lib/vxvm/bin/vxdisksetup -i c2t0d0 format=sliced
vxdg init testdg testdg01=c2t0d0 cds=off
/usr/lib/vxvm/bin/vxdisksetup -i c2t1d0 format=sliced
vxdg -g testdg adddisk testdg02=c2t1d0[/tt]

...and that seemed to work okay. So I'm not sure whether CDS even works with IDE disks... and if it doesn't, whether there is a 'proper' way through vxdiskadm to initialise and add disks.

Annihilannic.
 
hello Annihilannic,

i did what you did and it works.

# /usr/lib/vxvm/bin/vxdisksetup -i c0t1d0 format=sliced
# vxdg init testdg testdg01=c0t1d0 cds=off

# vxprint
Disk group: testdg

TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg testdg testdg - - - - - -

dm testdg01 c0t1d0s2 - 78075872 - - - -

# prtvtoc /dev/rdsk/c0d1s2

* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 01 0 78108030 78108029
3 15 01 16065 16065 32129
4 14 01 32130 78075900 78108029
8 1 01 0 16065 16064

somehow it connects c0t0d1 to c0d1. why, i don't know.

thank you very much.

cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top