04-18-2009
( VxVM ) How to add the removed disk back to previous disk group
Previously , i remove the disk by
#vxdg -g testdg -k rmdisk testdg02
But i got error when i -k adddisk
bash-2.03# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:none - - online invalid
c0t1d0s2 auto:none - - online invalid
c4t129d0s2 auto:cdsdisk - - online
c4t129d1s2 auto:cdsdisk testdg01 testdg online
- - testdg02 testdg removed was:c4t129d0s2
bash-2.03# vxdg -g testdg -k adddisk testdg02=c4t129d0
VxVM vxdg ERROR V-5-1-2349 Device c4t129d0s2 appears to be owned by disk group testdg.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi,
i have a volume on a LUN of an EMC-storage and i need to increase the
size.
i could increase the size of the LUN on the EMC, i could increase the
size of the disk for solaris, but how can i tell the veritas volume
manager that the disk is larger now?
what i've done:
1. LUN on EMC
2.... (3 Replies)
Discussion started by: pressy
3 Replies
2. Solaris
VxVM:
How to add one more disk into v08 the stripe should change from 7/128 to 8/128
v v08 - ENABLED ACTIVE 8954292224 SELECT v08-01 fsgen
pl v08-01 v08 ENABLED ACTIVE 8954292480 STRIPE 7/128 RW
sd bkpdg35-01 v08-01 bkpdg35 17216 ... (0 Replies)
Discussion started by: geoffry
0 Replies
3. Solaris
Hi, Im getting a downtime of 4 hrs to do porting of bootdisks.
Currently, the system is running on Sf4800. 2 internal disk 36G connected to a SE3510 storage.
We're getting 72G disks and we want to restore the OS from the current 36G to the 72G disk. System is under veritas volume manager ctrl.... (4 Replies)
Discussion started by: incredible
4 Replies
4. Solaris
Hi All,
We had a Sun Netra T1 go down the other day, the root disk was mirrored using vxvm. Upon boot from either disk, we had the following error appear:
WARNING: Error writing ufs log state
WARNING: ufs log for / changed state to Error
WARNING: Please umount(1M) / and run... (4 Replies)
Discussion started by: badoshi
4 Replies
5. Solaris
Hi,
Anyone can help me, just want to confirm, if possible adding a disk storage that we have a RAWDATA with +ASM in our database. If possible, what would you recommend "workaround used" from us to do and the preparation. And also how long the downtime will take.
Our disk continuous to grow,... (0 Replies)
Discussion started by: fpalero
0 Replies
6. Solaris
Hi,
I am new to solaris administration. I have scan the new EMC SAN disk. I am able to see the disk when i run the powermt display dev=all command o/p. I want to format the disk and add file system to that disk.
Can have formated the disk. and this the o/p of my format
bash-3.00# prtvtoc... (3 Replies)
Discussion started by: jpkumar10
3 Replies
7. Solaris
Hi,
Can you help me on booting x86 server configured under VxVM. Server boots fine normally from both the disks but if I try to boot server from mirror disk without starting veritas, then it does not boot.
vxplex -g rootdg dis var-02
vxplex -g rootdg dis swapvol-02
vxplex -g rootdg dis... (2 Replies)
Discussion started by: milindphanse604
2 Replies
8. Emergency UNIX and Linux Support
I have VxVM 5.1 running on Solaris-10. I have to increase a application file-system and storage team gave me a lun. After scanning scsi port by cfgadm, I can see them in format output. I labelled it, but I am not able to see them in "vxdisk list".
I already tried commands -->
vxdctl enable... (4 Replies)
Discussion started by: solaris_1977
4 Replies
9. HP-UX
Hello all,
So I made a rookie mistake today. I forgot to remove my disk from my disk group, before running the following command:for i in `ioscan -fnN | awk /NO/'{print $3}'`
do
rmsf -H $i
done
I am trying to run the following command, but not having any luck obviously:vxdg -g dgvol1 rmdisk... (0 Replies)
Discussion started by: mrkejames2
0 Replies
10. Solaris
On an OmniOS server, I removed a single-disk pool I was using for testing.
Now, when I run zpool import it will show it as FAULTED, since that single disk not available anymore.
# zpool import
pool: fido
id: 7452075738474086658
state: FAULTED
status: The pool was last... (11 Replies)
Discussion started by: priyadarshan
11 Replies
vxse(1M) vxse(1M)
NAME
vxse - Storage Expert rules
SYNOPSIS
/opt/VRTS/vxse/vxvm/vxse_rule [-g diskgroup] [-d defaults_file] [-v] check
/opt/VRTS/vxse/vxvm/vxse_rule [-g diskgroup] [-d defaults_file] [-v] info
/opt/VRTS/vxse/vxvm/vxse_rule [-g diskgroup] [-d defaults_file] [-v] list
/opt/VRTS/vxse/vxvm/vxse_rule [-g diskgroup] [-d defaults_file] [-v] run [attribute=value...]
DESCRIPTION
Storage Expert consists of a set of simple commands that collects VxVM configuration data and compares it with "best practice." Storage
Expert then produces a summary report that shows which objects do not meet these criteria and makes recommendations for VxVM configuration
improvements.
These user-configurable tools help you as an administrator to verify and validate systems and non-optimal configurations in both small and
large VxVM installations.
Storage Expert components include a set of rule scripts and a rules engine. The rules engine runs the scripts and produces ASCII output,
which is organized and archived by Storage Expert's report generator. This output contains information about areas of VxVM configuration
that do not meet the set criteria. By default, output is sent to the screen, but you can redirect it to a file using standard UNIX redi-
rection.
KEYWORDS
check Lists the default values used by a rule's attributes.
info Describes what a rule does.
list Lists the attributes of a rule that can be set.
run Runs a rule. If one or more attribute-value pairs are specified, these override the values set in the defaults file.
OPTIONS
-d defaults_file
Specifies an alternate default attribute-values file to the standard file, /etc/default/vxse.
-g diskgroup
Specifies the disk group to be examined instead of the default disk group (see vxdg(1M)).
-v Specifies verbose output format.
EXAMPLES
Note: The executable rule files are located in the directory, /opt/VRTS/vxse/vxvm. These examples assume that this directory has been
added to the PATH variable.
Discover what the vxse_stripes2 rule does:
vxse_stripes2 info
Display the attributes that are available for the vxse_drl1 rule:
vxse_drl1 list
Display the default values of the attributes for the vxse_stripes2 rule:
vxse_stripes2 check
Run the vxse_volplex rule on the mydg disk group:
vxse_volplex -g mydg run
Run the vxse_drl2 rule on the mydg disk group with the value of the large_mirror_size attribute set to 30MB:
vxse_drl2 -g mydg run large_mirror_size=30m
Run the vxse_srl2 rule using the default attribute values that are set in the file mydefaultsfile:
vxse_drl2 -d mydefaultsfile -g mydg run
FILES
/etc/default/vxse Standard attribute values file for vxse rules.
/opt/VRTS/vxse/vxvm Directory containing executable rules.
NOTES
See the "Using Veritas Storage Expert" chapter in the Veritas Volume Manager Administrator's Guide for a description of the rules and their
attributes.
SEE ALSO
vxdg(1M), vxintro(1M)
Veritas Volume Manager Administrator's Guide
VxVM 5.0.31.1 24 Mar 2008 vxse(1M)