Beruflich Dokumente
Kultur Dokumente
HowtoResizeMultipathDeviceOnExpandingTheLogicalUnitSizeOfStorage(DocID
1562462.1)
InthisDocument
Goal
Solution
References
APPLIESTO:
LinuxOSVersionOracleLinux5.8withUnbreakableEnterpriseKernel[2.6.39]andlater
Linuxx86
Linuxx8664
GOAL
ThisarticleaimstoprovidethebasicstepstoresizeaLUNandextendanexistingext3filesystemonit.
SOLUTION
Ifyouneedtoresizeanonlinemultipathdevice,usethefollowingprocedure.
1.Resizeyourphysicaldevice
#multipathl
Resizeyourpaths.ForSCSIdevices,writinga1totherescanfileforthedevicecausestheSCSIdrivertorescan(refer
toDocument603868.1formoreinformation),asinthefollowingcommand:
#echo1>/sys/block/<device_name>/device/rescan
Resizeyourmultipathdevicebyrunningthemultipathdresizecommand:
#multipathdk'resizemapmpathN'
2.Resizethefilesystem(assumingnoLVMorDOSpartitionsareused):
#resize2fs/dev/mapper/mpathN
Didn'tfindwhatyouarelookingfor?
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=awks4gm4s_346&id=1562462.1 1/1