vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have a filesystem that the users want bigger. The filesystem is a mount of the sandboxc logical volume. The LV looks like: # lslv -l sandboxc sandboxc:/vistaarchive PV COPIES IN BAND DISTRIBUTION hdisk177 134:000:000 20% 027:027:026:027:027 hdisk178 134:000:000 20% 027:027:026:027:027 hdisk179 134:000:000 20% 027:027:026:027:027 hdisk180 134:000:000 20% 027:027:026:027:027 hdisk181 134:000:000 20% 027:027:026:027:027 hdisk182 134:000:000 20% 027:027:026:027:027 hdisk183 134:000:000 20% 027:027:026:027:027 hdisk184 134:000:000 20% 027:027:026:027:027 hdisk185 134:000:000 20% 027:027:026:027:027 hdisk186 134:000:000 20% 027:027:026:027:027 hdisk187 134:000:000 20% 027:027:026:027:027 hdisk189 134:000:000 20% 027:027:026:027:027 hdisk190 134:000:000 20% 027:027:026:027:027 hdisk191 042:000:000 64% 000:027:015:000:000 All the disks I have in that same volume group are: # lsvg -p esss80v51vg esss80v51vg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk194 active 134 134 27..27..26..27..27 hdisk195 active 134 134 27..27..26..27..27 hdisk196 active 134 134 27..27..26..27..27 hdisk177 active 134 0 00..00..00..00..00 hdisk178 active 134 0 00..00..00..00..00 hdisk179 active 134 0 00..00..00..00..00 hdisk180 active 134 0 00..00..00..00..00 hdisk181 active 134 0 00..00..00..00..00 hdisk182 active 134 0 00..00..00..00..00 hdisk183 active 134 0 00..00..00..00..00 hdisk184 active 134 0 00..00..00..00..00 hdisk185 active 134 0 00..00..00..00..00 hdisk186 active 134 0 00..00..00..00..00 hdisk187 active 134 0 00..00..00..00..00 hdisk188 active 134 133 27..26..26..27..27 hdisk189 active 134 0 00..00..00..00..00 hdisk190 active 134 0 00..00..00..00..00 hdisk191 active 134 92 27..00..11..27..27 hdisk192 active 134 134 27..27..26..27..27 hdisk193 active 134 134 27..27..26..27..27 So I have a few disks with lots of free PPs. But how do I 'grow' my existing filesystem? Regards Daryl "still a newb" Mitchell |
| |||
| gprimerib <hmprimerib@hotmail.com> wrote: > So I have a few disks with lots of free PPs. But how do I 'grow' my > existing filesystem? With chfs. Read the manual page, note the option '-a Size=[+]<NewSize>'. You can also user smit: 'smitty chfs'. This will extend the file system, the required partitions are taken from any disk in the volume group. The underlying logical volume is grown automatically. If you want to specify from which disks the partitions should be taken, first extend the logical volume with extendlv and then extend the file system on it. Yours, Laurenz Albe |
| |||
| Laurenz Albe <albe@culturallNOSPAM.com> wrote in message news:<d3jfj5$582$1@paperboy.Austria.EU.net>... > gprimerib <hmprimerib@hotmail.com> wrote: > > So I have a few disks with lots of free PPs. But how do I 'grow' my > > existing filesystem? > > With chfs. Read the manual page, note the option '-a Size=[+]<NewSize>'. > You can also user smit: 'smitty chfs'. > > This will extend the file system, the required partitions are taken from > any disk in the volume group. The underlying logical volume is grown > automatically. > > If you want to specify from which disks the partitions should be taken, > first extend the logical volume with extendlv and then extend the > file system on it. > > Yours, > Laurenz Albe If I have just one volume group & 1 hard disk and several logical volumes, do I need to add PPs to the logical volume being changed in size? thanks -kamal |
| ||||
| Kamal R. Prasad <kamalp@acm.org> wrote: > If I have just one volume group & 1 hard disk and several logical > volumes, do I need to add PPs to the logical volume being changed in > size? When you extend the logical volume, new PPs are allocated to it. This happens automatically if you use extendlv. If you want control over which PPs are allocated, you will have to create a map file and use extendlv -m. Yours, Laurenz Albe |