issues with Veritas volume manager configuration


 
Thread Tools Search this Thread
Operating Systems Solaris issues with Veritas volume manager configuration
# 1  
Old 05-29-2010
issues with Veritas volume manager configuration

hi all
i am a newbie to solaris and i am doing some R&D in veritas volume manager. This is my first day with veritas. I downloaded and installed Veritas storage foundation 5.1 package in my sun solaris 5.10 sparc machine. When i try to create disk group in vxvm, it giving one error message. I am using ultrascsi box ( 6 X 36 GB HDD). Previously i used this with Sun volume manager and zpool.
Code:
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c0t0d0s2     auto:none       -            -            online invalid
disk_0       auto:sliced     -            -            online
disk_1       auto:none       -            -            online invalid
disk_2       auto:ZFS        -            -            ZFS
disk_3       auto:sliced     -            -            online
disk_4       auto:simple     -            -            online invalid
disk_5       auto:ZFS        -            -            ZFS

This is the output of vxdisk list command. Then i initiate the disk_1. It was ok. But when i tried to create a disk group i am gettiing the following error message
Code:
bash-3.00# cd /opt/VRTS/bin
bash-3.00# vxdisksetup disk_1
bash-3.00# vxdg init kingston disk_1
VxVM vxdg ERROR V-5-1-6478 Device disk_1 cannot be added to a CDS disk group

How to resolve this problem?

Regards

Kingston S

---------- Post updated 2010-05-29 at 02:17 AM ---------- Previous update was 2010-05-28 at 08:40 AM ----------

any updates friends...i am waiting......
# 2  
Old 05-30-2010
Use below command to initialize the disk:
Code:
#vxdisksetup -i disk_1

And check the status if the particular disk in online.

thanks,
deepak
# 3  
Old 05-31-2010
hi thanks for ur reply...i did that ...it works fine.initially it says that the disk was under use by zpool. and it asked me to destroy it and change the signature in the hard disk.
I did "dd if=/dev/zero of=/dev/rdsk/c1t1d0s2 oseek=10 bs=512 count=1" it was failed. Then i did "dd if=/dev/zero of=/dev/vx/dmp/disk_1 oseek=16 bs=512 count=1". Now it works fine. I dont know why the command failed and second command succeeded. Can someone explain?
# 4  
Old 06-01-2010
Hi Kingston,

The first command was unsuccessful because you tried a write operation on a raw device. But write operation can't be carried out on a raw device. The second command was successful because it was a block device hence successful.

Please let us know if still unclear.

Thanks,
Deepak
# 5  
Old 06-01-2010
Ques 1: the first command will change signature of a hard disk. isnt it? If it is true, it will not be located in the writable area of a hard disk. Am i right?

Ques 2: it supposed to be work if i give "dd if=/dev/zero of=/dev/dsk/c1t1d0s2 oseek=16 bs=512 count=1". Isn't it?
# 6  
Old 06-01-2010
Ques 1: Which is that first command?

Ques 2: "dd if=/dev/zero of=/dev/dsk/c1t1d0s2 oseek=16 bs=512 count=1" this won't work because the disk is under VXVM control and R/W operation can only be held by using standard path given by VXVM.

Would request experts to say something if they understand first query well.

Thanks,
Deepak
# 7  
Old 06-02-2010
dd if=/dev/zero of=/dev/rdsk/c1t1d0s2 oseek=16 bs=512 count=1" is the first command. Leave this first command issue. Help me here.
I am getting the signature problem when i am giving the command "vxdisksetup -i disk_1" which means the hard disk is not under the vxvm control at that moment. Am i right? If it is so, what should happen?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to extend a disk in veritas volume manager in veritas cluster?

Hi Experts, I wanted to extend a veritas file system which is running on veritas cluster and mounted on node2 system. #hastatus -sum -- System State Frozen A node1 running 0 A node2 running 0 -- Group State -- Group System Probed ... (1 Reply)
Discussion started by: Skmanojkum
1 Replies

2. UNIX for Dummies Questions & Answers

VERITAS Volume Manager - mirror a disk/volume

I have a machine (5.10 Generic_142900-03 sun4u sparc SUNW,Sun-Fire-V210) that we are upgrading the storage and my task is to mirror what is already on the machine to the new disk. I have the disk, it is labeled and ready but I am not sure of the next steps to mirror the existing diskgroup and... (1 Reply)
Discussion started by: rookieuxixsa
1 Replies

3. Solaris

Symantec/Veritas Volume Manager - subdisk * not in configuration

Hello, There once was a disk. Veritas thought it wasn't happy, but it really was. The disk was all alone on a plex. There was another plex, in the same volume, that was fine and happy with its own single disk. I removed the plex with the unhappy disk. Then I went into vxdiskadm, removed... (2 Replies)
Discussion started by: kity1kity
2 Replies

4. Solaris

Veritas volume manager resize

Hiii, Can any one sugge me best practices for resizing a veritas voulume with vxfs file system? I tried doing this vxassist -g stg shrinkto stgvol 209715200 VxVM vxassist ERROR V-5-1-7236 Shrinking a FSGEN or RAID5 usage type volume can result in loss of data. It is recommended... (1 Reply)
Discussion started by: anwesh
1 Replies

5. Solaris

RAID manager or veritas volume manager

Can somebody kindly help me to determine which one i should choose to better manipulate OS volume. RAID manager or veritas volume manager? Any critical differences between those two? Thanks in advance. (5 Replies)
Discussion started by: beginningDBA
5 Replies

6. Solaris

veritas volume manager links

Hi all, Anybody know the URLs of veritas volume manager disk problems,volume problems,root disk problems ...etc. Please share the URL's. i really appreciate for cooperation. regards krishna (4 Replies)
Discussion started by: murthy76
4 Replies

7. UNIX for Advanced & Expert Users

Regarding Veritas Volume manager

hy guys I am new at this thread , i have installed sf 5.0 and wanted to encapsulate root disk but when i get to optionn to enter private region i get this error: Enter desired private region length (default: 65536) 512 VxVM ERROR V-5-2-338 The encapsulation operation failed with the... (2 Replies)
Discussion started by: charneet
2 Replies

8. Solaris

How to resize mirror volume in veritas volume manager 3.5 on Solaris 9 OE

Hi all, I have a problem with vxvm volume which is mirror with two disks. when i am try to increase file system, it is throwing an ERROR: can not allocate 5083938 blocks, ERROR: can not able to run vxassist on this volume. Please find a sutable solutions. Thanks and Regards B. Nageswar... (0 Replies)
Discussion started by: nageswarb
0 Replies

9. UNIX for Dummies Questions & Answers

veritas filesystem and volume manager

WHat is the difference between Veritas filesystem and veritas volume manager? Regards (2 Replies)
Discussion started by: knarayan
2 Replies

10. UNIX for Dummies Questions & Answers

How to start Veritas volume manager

? (1 Reply)
Discussion started by: 98_1LE
1 Replies
Login or Register to Ask a Question