10-08-2009
Command to find the failed disks in SVM and VxVM
How to find & replace bad disks in solaris & VXVM?plz
explain step by step?
9 More Discussions You Might Find Interesting
1. Solaris
I have situation where I want to know about all the vxvm mount points information on my solaris box, because after rebooting the server the few mount points are not mounted automatically because they where not copied in /etc/vfstab.
So please help me out on the same.:( (0 Replies)
Discussion started by: nimish_mehta
0 Replies
2. 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
3. Solaris
what is the difference between VXVM and SVM ?
What is the advantages of VXVM over SVM ?
thanks (2 Replies)
Discussion started by: sijocg
2 Replies
4. UNIX for Advanced & Expert Users
Hi,
I have 2 hosts with Veritas VxVM and VxFS (5.0 MP3_RP2). I need to use the application filesystem's luns from these 2 hosts and mount it on another 2 hosts that are running Solaris 9 09/05 and SVM.
Is there resources online or has someone tried this? (0 Replies)
Discussion started by: xor
0 Replies
5. Solaris
Hi,
I have 2 hosts with Veritas VxVM and VxFS (5.0 MP3_RP2). I need to use the application filesystem's luns from these 2 hosts and mount it on another 2 hosts that are running Solaris 9 09/05 and SVM.
Is there resources online or has someone tried this? (4 Replies)
Discussion started by: xor
4 Replies
6. Solaris
Hi, Here is the issue: There are 4 disks on this Sun x4150 system under Solaris 10, but only 1 disk can be seen by the OS. I've tried commands disks and devfsadm but not working. It's an important production server, so 'reboot -r' is not a choice.
# format < /dev/null
Searching for... (6 Replies)
Discussion started by: aixlover
6 Replies
7. Shell Programming and Scripting
hi,
how can i know whether a command inside an sftp script has failed or not?
i have a sftp expect script
#!/usr/bin/expect
spawn /usr/bin/sftp abc@ftp.abc.com
expect "sftp>"
send "cd dir\r"
expect "sftp>"
send "mput abc.txt\r"
expect "sftp>"
send "mput def.xls\r"
expect "sftp>"... (5 Replies)
Discussion started by: Little
5 Replies
8. AIX
I have a AIX 7.1 system that has 3 failed disks, 1 in rootvg and 2 in vg_usr1.
Here is the output of lspv.
# lspv
hdisk0 00044d4dfbb11575 vg_usr1 active
hdisk1 0000150179158027 vg_usr1 active
hdisk2 ... (11 Replies)
Discussion started by: c3rb3rus
11 Replies
9. Solaris
Hi
Please can you help me on replacing or removing a faulty disk drive on a SUN NETRA X4250server with 4 internal drives only.
the format comand show me the following:
format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <drive type unknown>
... (9 Replies)
Discussion started by: fretagi
9 Replies
LEARN ABOUT DEBIAN
algorithm::checkdigits::m11_003
CheckDigits::M11_003(3pm) User Contributed Perl Documentation CheckDigits::M11_003(3pm)
NAME
CheckDigits::M11_003 - compute check digits for PKZ (GDR)
SYNOPSIS
use Algorithm::CheckDigits;
$pkz = CheckDigits('pkz');
if ($pkz->is_valid('150765400354')) {
# do something
}
$cn = $pkz->complete('15076540035');
# $cn = '150765400354'
$cd = $pkz->checkdigit('150765400354');
# $cd = '4'
$bn = $pkz->basenumber('150765400354');
# $bn = '150765400354'
DESCRIPTION
ALGORITHM
1. The checkdigit is set to 0.
2. From right to left the digits are weighted (multiplied) with 2,4,8,5,10,9,7,3,6,1,2,4.
3. The products are added.
4. The sum of step 3 is taken modulo 11.
5. The value of step 4 is added to a multiple (0..9) of the weight of the checkdigit(2).
6. The sum of step 5 is taken modulo 11.
7. The checkdigit is the multiple of the weight of the checkdigit where the value of step 6 equals 10.
8. If there can't be reached a value of 10 in step 6, the number cannot be taken as a PKZ.
To validate a PKZ apply steps 2 to 4 to the complete number.
METHODS
is_valid($number)
Returns true only if $number consists solely of numbers and the last digit is a valid check digit according to the algorithm given
above.
Returns false otherwise,
complete($number)
The check digit for $number is computed and concatenated to the end of $number.
Returns the complete number with check digit or '' if $number does not consist solely of digits and spaces.
basenumber($number)
Returns the basenumber of $number if $number has a valid check digit.
Return '' otherwise.
checkdigit($number)
Returns the checkdigit of $number if $number has a valid check digit.
Return '' otherwise.
EXPORT
None by default.
AUTHOR
Mathias Weidner, <mathias@weidner.in-bad-schmiedeberg.de>
SEE ALSO
perl, CheckDigits, www.pruefziffernberechnung.de.
perl v5.10.0 2008-05-17 CheckDigits::M11_003(3pm)