HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I "secondary swap" disk replace hot-swap??

 
Lee seung-jun
Occasional Advisor

Can I "secondary swap" disk replace hot-swap??

Hi !!

my rp4440 server (11.11 os) have secondary swap disk,

But that is not mirrored

more infomation is like ....

1:/]swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 10240 0 10240 0% 0 - 1 /dev/vg00/lvol2
dev 34724 0 34724 0% 0 - 2 /dev/vg04/lvol1
reserve - 8157 -8157
memory 12751 3069 9682 24%
total 57715 11226 46489 19% - 0 -
1:/]vgdisplay -v /dev/vg04
--- Volume groups ---
VG Name /dev/vg04
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 8683
VGDA 2
PE Size (Mbytes) 4
Total PE 8681
Alloc PE 8681
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg04/lvol1
LV Status available/syncd
LV Size (Mbytes) 34724
Current LE 8681
Allocated PE 8681
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c7t2d0
PV Status unavailable
Total PE 8681
Free PE 0
Autoswitch On


1:/]vgchange -a n /dev/vg04
vgchange: Couldn't deactivate volume group "/dev/vg04":
Device busy

the disk is in SC10 storage.

how can i do ?
No rebooting solution is ????

Thanks reply.
5 REPLIES
Patrick Wallek
Honored Contributor

Re: Can I "secondary swap" disk replace hot-swap??

Since the disk is unavailable you **MIGHT** be able to do the following:

1) replace the disk. Pull the old one and put in the new one.

2) Do a vgcfgrestore to restore the VG configuration: vgcfgrestore -n vg04 /dev/rdsk/c7t2d0

3) Activate the VG: vgchange -a y vg04

The one caveat is that I do not know what will happen to the system when you remove the disk. Since it is used in a swap LV, there could be a chance that the system will crash. However, since the disk is already showing as unavailable and your system is apparently still up, you might be OK.

Since you are not actually paging out to this disk, it may be OK as well. Problems would arise if you actually needed to page out to this disk.
Lee seung-jun
Occasional Advisor

Re: Can I "secondary swap" disk replace hot-swap??

Thanks Wallek

This server is doing very important job.

i am not sure when disk removed what happen.

if i am not anything, any problem will happen?

Mel Burslan
Honored Contributor

Re: Can I "secondary swap" disk replace hot-swap??

As Patrick said, when and if there comes a time, your system needs to swap pages out to the secondary swap and to the physical disk area mapped on this failed/unavailable disk, your system will most probably crash or become unresponsive. The behavior is quite unpredictable without knowing the server.

If this is such an important server doing a very important job, why aren't you investing few hundred more dollars to get mirror volumes for your swap disks ?
________________________________
UNIX because I majored in cryptology...
Lee seung-jun
Occasional Advisor

Re: Can I "secondary swap" disk replace hot-swap??

Thanks everyone,

Why only that disk is not mirror. me too.
Lee seung-jun
Occasional Advisor

Re: Can I "secondary swap" disk replace hot-swap??

.