Sponsored Content
Full Discussion: Remove the disk online
Operating Systems AIX Remove the disk online Post 302772517 by newtoaixos on Tuesday 26th of February 2013 12:56:02 AM
Old 02-26-2013
IBM Remove the disk online

Hi

I have one of the disk missing in my NIMVG. My doubt is can I remove this hdisk2 online ? few of the file systems seems to be spread over 7 PV's. that's why i'm worried. Can someone suggest if I can replace this disk online. Also how to check if there is some data present in hdisk2 alone which is not mirrored to the other disks.

Code:
ibmaixnim:root:/>lsvg -l NIMVG
NIMVG:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
loglv00             jfs2log    1       2       2    open/stale    N/A
fslv00              jfs2       441     882     7    open/stale    /export
fslv01              jfs2       186     372     7    open/stale    /export/Software
imagevol            jfs2       367     367     1    open/syncd    /export/images


ibmaixnim:root:/>lsvg -p NIMVG
NIMVG:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk2            missing           546         0           00..00..00..00..00
hdisk3            active            546         0           00..00..00..00..00
hdisk15           active            399         8           00..00..00..00..08
hdisk21           active            23          0           00..00..00..00..00
hdisk22           active            23          0           00..00..00..00..00
hdisk23           active            23          0           00..00..00..00..00
hdisk24           active            25          0           00..00..00..00..00
hdisk25           active            23          0           00..00..00..00..00
hdisk26           active            23          0           00..00..00..00..00


ibmaixnim:root:/>lspv -l hdisk2
hdisk2:
LV NAME               LPs     PPs     DISTRIBUTION          MOUNT POINT
fslv00                401     401     110..108..109..73..01 /export
fslv01                144     144     00..00..00..36..108   /export/Software
loglv00               1       1       00..01..00..00..00    N/A

ibmaixnim:root:/>lsdev -Cc disk | grep -i hdisk2
hdisk2  Available 05-08-00 SAS Disk Drive

 

10 More Discussions You Might Find Interesting

1. Solaris

Need to remove a disk from Veritas

I have a bogus disk that keeps showing up as failed from vxdisk list - - disk hpdg failed was:c2t0d11s2 There isnt any c2 devices on the system: # ls /dev/dsk/c2* /dev/dsk/c2*: No such file or directory # ls /dev/rdsk/c2* /dev/rdsk/c2*: No such file or... (3 Replies)
Discussion started by: kiem
3 Replies

2. AIX

How to remove disk from mirror?

Hello, I've got 2 system disks (hdisk0 and hdisk1) in the mirror (RAID1) on AIX 5.3. Since the hdisk1 makes some troubles, we want to replace it with the new one. How can I disable this hdisk1 disk and prepare the mirror to use the new physical disk? As far as I know, I must remove disk from the... (3 Replies)
Discussion started by: Yac
3 Replies

3. Solaris

Remove os mirrored disk Solaris 10

Hello once again seeking your help, I have a mirrored disk and need to unmirror it to mount it as a new file system (/export) but could not find the correct steps to do it with out affecting the original disk. can anybody point me out on how to get this done. Thanks!! (3 Replies)
Discussion started by: AQG
3 Replies

4. Solaris

Unable to bring a disk from error to online state.

Hello experts. I am using Solaris 10(2005) on intel machine. I have installed Veritas Volume manager 5.0. I am unable to bring a disk error to online state. I would like to bring that disk to CDS format. Commands i used and output are.... #vxdisk list DEVICE TYPE ... (11 Replies)
Discussion started by: younus_syed
11 Replies

5. Solaris

Cannot remove and replace failed disk

-bash-3.00# zpool detach zonepool c1t1d0 cannot detach c1t1d0: only applicable to mirror and replacing vdevs -bash-3.00# zpool remove zonepool c1t1d0 cannot remove c1t1d0: only inactive hot spares, cache, top-level, or log devices can be removed -bash-3.00# zpool offline zonepool c1t1d0... (3 Replies)
Discussion started by: LittleLebowski
3 Replies

6. AIX

hacmp - is it possible to remove a disk heartbeat network from an online cluster?

Hi I'm a little rusty with HACMP, but wanted to find out if it is possible to remove a disk heartbeat network from a running HACMP cluster. Reason is, I need to migrate all the SAN disk, so the current heartbeat disk will be disappearing. Ideally, I'd like to avoid taking the cluster down to... (2 Replies)
Discussion started by: cmcbugg
2 Replies

7. HP-UX

Remove faulty disk LV from VG

Hi, Have mirrored the primary disk to 3 . Server and OS: # uname -a HP-UX pdwp1s B.11.11 U 9000/800 118434630 unlimited-user license # model 9000/800/L3000-7x # strings /etc/lvmtab /dev/vg00 +F@< /dev/dsk/c1t2d0 /dev/dsk/c2t2d0 /dev/dsk/c2t0d0 But now I have only 1 disk... (5 Replies)
Discussion started by: Shirishlnx
5 Replies

8. Solaris

Need to remove a disk from zfs pool

I accidently added a disk in different zpool instead of pool, where I want. root@prtdrd21:/# zpool status cvfdb2_app_pool pool: cvfdb2_app_pool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM cvfdb2_app_pool ONLINE 0 0 0... (1 Reply)
Discussion started by: solaris_1977
1 Replies

9. Solaris

Cannot remove disk added to zpool

I added a disk to a zpool using "zpool add diskname" My intention was mirror a zpool disk that no mirror; that is a zpool with only one disk. I did not issue the right command. Now, the disk has been added successfully but I cannot remove nor detach it as Solaris 11 thinks it has data on it... (14 Replies)
Discussion started by: LittleLebowski
14 Replies

10. Solaris

How to remove a LUN in "Online Busy" state?

Hi all, I have a LUN that is in "Online Busy" when I issue the dev_gestate subcommand of luxadm: root@es088wb6:~# luxadm -v -e dev_getstate /dev/rdsk/c21t50050763090887FEd4s2 phys path = "/devices/pci@6c0/pci@1/pci@0/pci@4/SUNW,qlc@0/fp@0,0/ssd@w50050763090887fe,4:c,raw" ... (5 Replies)
Discussion started by: ludiegu
5 Replies
iostat(1)						      General Commands Manual							 iostat(1)

NAME
iostat - report I/O statistics SYNOPSIS
[interval [count]] DESCRIPTION
iteratively reports I/O statistics for each active disk on the system. Disk data is arranged in a four-column format: Column Heading Interpretation -------------------------------------------------- device Device name bps Kilobytes transferred per second sps Number of seeks per second msps Milliseconds per average seek If two or more disks are present, data is presented on successive lines for each disk. To compute this information, seeks, data transfer completions, and the number of words transferred are counted for each disk. Also, the state of each disk is examined times per second (as defined in and a tally is made if the disk is active. These numbers can be combined with the transfer rates of each device to determine average seek times for each device. With the advent of new disk technologies, such as data striping, where a single data transfer is spread across several disks, the number of milliseconds per average seek becomes impossible to compute accurately. At best it is only an approximation, varying greatly, based on several dynamic system conditions. For this reason and to maintain backward compatibility, the milliseconds per average seek field is set to the value 1.0. Options recognizes the following options and command-line arguments: Report terminal statistics as well as disk (or lunpath) statistics. When used with the option, lunpath and terminal statistics are displayed. Terminal statistics include: Number of characters read from terminals. Number of characters written to terminals. Percentage of time system (active processors) has spent in user mode. Percentage of time system (active processors) has spent in user mode running low-priority (nice) processes. Percentage of time system (active processors) has spent in system mode. Percentage of time system (active processors) has spent idling. interval Display successive lines which are summaries of the last interval seconds. The first line reported is for the time since a reboot and each subsequent line is for the last interval only. count Repeat the statistics count times. Report active lunpath statistics. When used with the option, lunpath and terminal statistics are reported. The lunpaths are not displayed in any specific order, and the current order may change in future releases. Lunpath data is arranged in a four-column format: symbolic name of the lunpath of the form: diskm_lunpathn, where m is the instance number of LUN and n is the instance number of lunpath. For example, in disk47_lunpath7, m is 47 and n is 7. These instance numbers are displayed by using the option for the LUN and lunpath entries. For more information on LUN and lunpath hardware path, refer to intro(7). Kilobytes transferred per second. Number of seeks per second. Milliseconds per average seek. For multiple lunpaths, data is presented on successive lines for each active lunpath. If no lunpaths were active, a blank line is printed. EXAMPLES
Show current I/O statistics for all disks: Display I/O statistics for all disks every 10 seconds until INTERRUPT or QUIT is pressed: Display I/O statistics for all disks every 10 seconds and terminate after 5 successive readings: Display I/O statistics for all disks every 10 seconds, also show terminal and processor statistics, and terminate after 5 successive read- ings: Display I/O statistics for all active lunpaths: Display I/O statistics for all active lunpaths every 10 seconds until INTERRUPT or QUIT is pressed: Display I/O statistics for all active lunpaths every 10 seconds, and terminate after 5 successive readings: Display I/O statistics for all active lunpaths every 10 seconds, also show terminal and processor statistics, and terminate after 5 succes- sive readings: WARNINGS
Users of must not rely on the exact field widths and spacing of its output, as these will vary depending on the system, the release of HP- UX, and the data to be displayed. AUTHOR
was developed by the University of California, Berkeley, and HP. FILES
SEE ALSO
vmstat(1), ioscan(1M), intro(7). iostat(1)
All times are GMT -4. The time now is 05:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy