Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 10:28 AM
StephenRichter@gmail.com
 
Posts: n/a
Default AIX - Linux logical volume manager differences

Are there significant differences between the LVM of AIX and Linux?
Also, what is the release history of this feature of the OS? I am new
to UNIX of all stripes, running AIX 5.3 on an ebay 170 44P. The LVM is
looking like the first big issue to tackle when learning AIX/Linux.

Did the LVM in Linux and AIX come out around the year 2000 or so? If
so, any major changes since then?

If the LVM of Linux and AIX did come out around the same time, why the
difference in terminology? In Linux you have physical extents vs AIX
physical partitions? To grow a logical volume in Linux you "lvextend".
Not the same in AIX?

I am looking to automate the allocation of space as much as possible. I
am an AS400 refugee where OS400 handles all of this automatically. I
like the flexibility of the LVM approach but would like the ability to
put the system on auto pilot also.

thanks,

-Steve

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 10:28 AM
Wil Cooley
 
Posts: n/a
Default Re: AIX - Linux logical volume manager differences

On Tue, 19 Sep 2006 07:37:27 -0700, StephenRichter wrote:

> Are there significant differences between the LVM of AIX and Linux?
> Also, what is the release history of this feature of the OS? I am new
> to UNIX of all stripes, running AIX 5.3 on an ebay 170 44P. The LVM is
> looking like the first big issue to tackle when learning AIX/Linux.
>
> Did the LVM in Linux and AIX come out around the year 2000 or so? If
> so, any major changes since then?


That's probably about right for Linux; at least, it was in most of the
mainline distributions around then. According to Wikipedia, it began
around 1998. There are major internal changes between v1 and v2
implementations, but you can upgrade in-place and the tools themselves
didn't really change much.

The AIX LVM is considerably older; I cannot say how much, but I'd guess
maybe 10 years or so?

The Linux LVM is based on the HP-UX LVM, which is probably approximately
as old as the AIX LVM, which is why the commands are different.

> If the LVM of Linux and AIX did come out around the same time, why the
> difference in terminology? In Linux you have physical extents vs AIX
> physical partitions? To grow a logical volume in Linux you "lvextend".
> Not the same in AIX?


AIX takes over the whole disk; Linux runs primarily on PCs, so there has
to be a DOS partition table on at least the first disk for booting--after
that, they're not required, but are conventionally used. From the
perspective of forming a mental model, Linux PEs and AIX PPs probably
aren't that much different, but there's an extra legacy layer in Linux on
PCs below it. (It's also convenient for setting up RAID with the MD
driver and putting the LVM on top of the MD devices.)

> I am looking to automate the allocation of space as much as possible. I
> am an AS400 refugee where OS400 handles all of this automatically. I
> like the flexibility of the LVM approach but would like the ability to
> put the system on auto pilot also.


I'm not sure how much automation is necessary; what are the circumstances
requiring such?

Wil
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 10:28 AM
base60
 
Posts: n/a
Default Re: AIX - Linux logical volume manager differences

StephenRichter@gmail.com wrote:
> Are there significant differences between the LVM of AIX and Linux?


Vendors copyright their source code so, yeah, they're different.

> Also, what is the release history of this feature of the OS? I am new
> to UNIX of all stripes, running AIX 5.3 on an ebay 170 44P. The LVM is
> looking like the first big issue to tackle when learning AIX/Linux.


No, the first big issue is doing a bit of research... books, faq etc
rather than posting this sort of question.

>
> Did the LVM in Linux and AIX come out around the year 2000 or so? If
> so, any major changes since then?


Re-read above.

JFS has been on AIX since inception.

>
> If the LVM of Linux and AIX did come out around the same time, why the
> difference in terminology? In Linux you have physical extents vs AIX
> physical partitions? To grow a logical volume in Linux you "lvextend".
> Not the same in AIX?


Re-read above & copyright comment.

>
> I am looking to automate the allocation of space as much as possible. I
> am an AS400 refugee where OS400 handles all of this automatically. I
> like the flexibility of the LVM approach but would like the ability to
> put the system on auto pilot also.


Which may work until the first time you have a process run-away and it
sucks every bit of available disk space.

There are lots of good reasons to put limits on things.

Rather than looking for a panacea for an OS switch, start reading.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 10:28 AM
StephenRichter@gmail.com
 
Posts: n/a
Default Re: AIX - Linux logical volume manager differences


Wil Cooley wrote:
> On Tue, 19 Sep 2006 07:37:27 -0700, StephenRichter wrote:
>
> > Are there significant differences between the LVM of AIX and Linux?
> > Also, what is the release history of this feature of the OS? I am new
> > to UNIX of all stripes, running AIX 5.3 on an ebay 170 44P. The LVM is
> > looking like the first big issue to tackle when learning AIX/Linux.
> >
> > Did the LVM in Linux and AIX come out around the year 2000 or so? If
> > so, any major changes since then?

>
> That's probably about right for Linux; at least, it was in most of the
> mainline distributions around then. According to Wikipedia, it began
> around 1998. There are major internal changes between v1 and v2
> implementations, but you can upgrade in-place and the tools themselves
> didn't really change much.
>
> The AIX LVM is considerably older; I cannot say how much, but I'd guess
> maybe 10 years or so?
>
> The Linux LVM is based on the HP-UX LVM, which is probably approximately
> as old as the AIX LVM, which is why the commands are different.


got it.

> > If the LVM of Linux and AIX did come out around the same time, why the
> > difference in terminology? In Linux you have physical extents vs AIX
> > physical partitions? To grow a logical volume in Linux you "lvextend".
> > Not the same in AIX?

>
> AIX takes over the whole disk; Linux runs primarily on PCs, so there has
> to be a DOS partition table on at least the first disk for booting--after
> that, they're not required, but are conventionally used. From the
> perspective of forming a mental model, Linux PEs and AIX PPs probably
> aren't that much different, but there's an extra legacy layer in Linux on
> PCs below it. (It's also convenient for setting up RAID with the MD
> driver and putting the LVM on top of the MD devices.)


Linux on RS6000/p5? Or does the primary partition of a p5 have to be
AIX? Dont bother with this question much, but what I am utlimately
getting at is whether I should run AIX or Linux. If the Linux LVM has
more features than AIX, why use AIX?

> > I am looking to automate the allocation of space as much as possible. I
> > am an AS400 refugee where OS400 handles all of this automatically. I
> > like the flexibility of the LVM approach but would like the ability to
> > put the system on auto pilot also.

>
> I'm not sure how much automation is necessary; what are the circumstances
> requiring such?


while FTPing to my just arrived ebay 170 44P the FTP just halted.
Turned out the /home file system was full. I would like all the file
systems in a volume group to be able to grow and shrink within the
confines of the PPs in the VG. When a file system is getting full I
would like to get an email. When a process is halted because of space
I would like to add space to the file system and see the process
continue on without abending.

-Steve

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 10:28 AM
StephenRichter@gmail.com
 
Posts: n/a
Default Re: AIX - Linux logical volume manager differences


base60 wrote:
> StephenRichter@gmail.com wrote:
> > Are there significant differences between the LVM of AIX and Linux?

>
> Vendors copyright their source code so, yeah, they're different.
>
> > Also, what is the release history of this feature of the OS? I am new
> > to UNIX of all stripes, running AIX 5.3 on an ebay 170 44P. The LVM is
> > looking like the first big issue to tackle when learning AIX/Linux.

>
> No, the first big issue is doing a bit of research... books, faq etc
> rather than posting this sort of question.


suit yourself. I answer a lot of questions on line and never give this
kind of response. Just dont think you have to give a comprehensive
answer and you should be fine.

regarding books on AIX, etc. The only IBM redbook on AIX LVM is dated
2000. The AIX 5L admin book by Randall Michael I have is copyright
2002. ( that is why I was thinking the Linux LVM and AIX version came
out around the same time. ) I have been at this a week or two and see
two AIX books on Amazon, no non IBM web site dedicated to AIX. The IBM
site is ok but it does not put its info in context.

Learning AIX is doable. The archives of this NG that I access thru
google groups is the best resource. The issue when I search here is
that a lot of hits refer back to posts in the 1990s. So I dont know
what is relevent and what is not.

> >
> > Did the LVM in Linux and AIX come out around the year 2000 or so? If
> > so, any major changes since then?

>
> Re-read above.
>
> JFS has been on AIX since inception.
>
> >
> > If the LVM of Linux and AIX did come out around the same time, why the
> > difference in terminology? In Linux you have physical extents vs AIX
> > physical partitions? To grow a logical volume in Linux you "lvextend".
> > Not the same in AIX?

>
> Re-read above & copyright comment.
>
> >
> > I am looking to automate the allocation of space as much as possible. I
> > am an AS400 refugee where OS400 handles all of this automatically. I
> > like the flexibility of the LVM approach but would like the ability to
> > put the system on auto pilot also.

>
> Which may work until the first time you have a process run-away and it
> sucks every bit of available disk space.


in OS400 you set a size limit at the file level. The OS400 library,
which is roughly equivalent to the UNIX file system, has no size
limits. The size limit of the files ( we are talking database files )
is set to a number of rows. You can set the limit to *nomax or a
number of rows you know the file/table will never grow to. The default
for a new table might be 30,000 rows. When you hit the limit the job
stops, an inquiry message is sent to the QSYSOPR message queue, and you
can respond to cancel the job or increase the size limit and the job
continues on its merry way. Works very well. I have never seen an
as400 system crash because of a run away job. They do run out of
space, but that is because idiot IBM prices i5 hardware and i5/OS
software at such a premium that users often are running on undersized
systems. I drool when I visit the IBM p5 site and see the quad core
systems selling at market prices. A quad core i5 will be priced at mid
6 figures easy.

>
> There are lots of good reasons to put limits on things.
>
> Rather than looking for a panacea for an OS switch, start reading.


WIll do. Appreciate any help I get.

-Steve

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-05-2008, 10:28 AM
base60
 
Posts: n/a
Default Re: AIX - Linux logical volume manager differences

Wil Cooley wrote:
> On Tue, 19 Sep 2006 07:37:27 -0700, StephenRichter wrote:
>
>> Are there significant differences between the LVM of AIX and Linux?
>> Also, what is the release history of this feature of the OS? I am new
>> to UNIX of all stripes, running AIX 5.3 on an ebay 170 44P. The LVM is
>> looking like the first big issue to tackle when learning AIX/Linux.
>>
>> Did the LVM in Linux and AIX come out around the year 2000 or so? If
>> so, any major changes since then?

>
> That's probably about right for Linux; at least, it was in most of the
> mainline distributions around then. According to Wikipedia, it began
> around 1998. There are major internal changes between v1 and v2
> implementations, but you can upgrade in-place and the tools themselves
> didn't really change much.
>
> The AIX LVM is considerably older; I cannot say how much, but I'd guess
> maybe 10 years or so?


More like 18.

>
> The Linux LVM is based on the HP-UX LVM, which is probably approximately
> as old as the AIX LVM, which is why the commands are different.


No. HP-UX LVM is around 8 - 10 years old and doesn't work the same...
or at least it didn't.

I believe both were based on OSF LVM.


>
>> If the LVM of Linux and AIX did come out around the same time, why the
>> difference in terminology? In Linux you have physical extents vs AIX
>> physical partitions? To grow a logical volume in Linux you "lvextend".
>> Not the same in AIX?

>
> AIX takes over the whole disk; Linux runs primarily on PCs, so there has
> to be a DOS partition table on at least the first disk for booting--after
> that, they're not required, but are conventionally used. From the
> perspective of forming a mental model, Linux PEs and AIX PPs probably
> aren't that much different, but there's an extra legacy layer in Linux on
> PCs below it. (It's also convenient for setting up RAID with the MD
> driver and putting the LVM on top of the MD devices.)
>
>> I am looking to automate the allocation of space as much as possible. I
>> am an AS400 refugee where OS400 handles all of this automatically. I
>> like the flexibility of the LVM approach but would like the ability to
>> put the system on auto pilot also.

>
> I'm not sure how much automation is necessary; what are the circumstances
> requiring such?
>
> Wil

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-05-2008, 10:28 AM
Wil Cooley
 
Posts: n/a
Default Re: AIX - Linux logical volume manager differences

On Tue, 19 Sep 2006 09:30:23 -0700, StephenRichter wrote:

> Linux on RS6000/p5? Or does the primary partition of a p5 have to be
> AIX? Dont bother with this question much, but what I am utlimately
> getting at is whether I should run AIX or Linux. If the Linux LVM has
> more features than AIX, why use AIX?


Oh, I don't know; if you've got a pSeries/RS6k, when run AIX on it--get a
PC and run Linux on it.

The LVM isn't really much of a deciding point between one or the other;
they're too similar in features for it to make much of a difference.

> while FTPing to my just arrived ebay 170 44P the FTP just halted. Turned
> out the /home file system was full. I would like all the file systems in
> a volume group to be able to grow and shrink within the confines of the
> PPs in the VG. When a file system is getting full I would like to get an
> email. When a process is halted because of space I would like to add
> space to the file system and see the process continue on without
> abending.


None of this is automatic on any UNIX system I know of; it's all left to
the user to figure out. You really wouldn't want filesystems to grow
automatically like this, because you can end up with some one or some
process hogging your whole disk with junk--and then when a filesystem that
actually needs the space tries to grow, it'll fail. But you won't notice
because you expect it to be automatic.

Wil
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-05-2008, 10:28 AM
lcaamano
 
Posts: n/a
Default Re: AIX - Linux logical volume manager differences

StephenRichter@gmail.com wrote:
>
> Did the LVM in Linux and AIX come out around the year 2000 or so?
>


AIX Version 3 came out towards the end of 1989, almost 17 years ago,
and it already had LVM and JFS. The coolest things to show then was
that one could increase the size of a file system without unmounting it
and coming up without an fsck after yanking the power off the system
without a shutdown, the only *nix OS able to do that for many years. I
did have fun showing it off back then.

--
Luis P Caamano
Atlanta, GA USA

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-05-2008, 10:29 AM
base60
 
Posts: n/a
Default Re: AIX - Linux logical volume manager differences

StephenRichter@gmail.com wrote:
> base60 wrote:
>> StephenRichter@gmail.com wrote:
>>> Are there significant differences between the LVM of AIX and Linux?

>> Vendors copyright their source code so, yeah, they're different.
>>
>>> Also, what is the release history of this feature of the OS? I am new
>>> to UNIX of all stripes, running AIX 5.3 on an ebay 170 44P. The LVM is
>>> looking like the first big issue to tackle when learning AIX/Linux.

>> No, the first big issue is doing a bit of research... books, faq etc
>> rather than posting this sort of question.

>
> suit yourself. I answer a lot of questions on line and never give this
> kind of response.


Helpful is in the eyes of the helper :-)

>Just dont think you have to give a comprehensive
> answer and you should be fine.
>
> regarding books on AIX, etc. The only IBM redbook on AIX LVM is dated
> 2000. The AIX 5L admin book by Randall Michael I have is copyright
> 2002. ( that is why I was thinking the Linux LVM and AIX version came
> out around the same time. ) I have been at this a week or two and see
> two AIX books on Amazon, no non IBM web site dedicated to AIX. The IBM
> site is ok but it does not put its info in context.


The reason there are no books on AIX LVMs is that it's probably
not considered a complicated enough topic to warrant one. Really.

Both of the references above should be reasonably current.

Try going to http://www.ibm.com and doing a search on "redbook aix"

There is one on storage management.

>
> Learning AIX is doable. The archives of this NG that I access thru
> google groups is the best resource. The issue when I search here is
> that a lot of hits refer back to posts in the 1990s. So I dont know
> what is relevent and what is not.


FAQs are generally reasonably current, and if you check wiki
you'll see they discuss LVM & OSF.

The LVM on linux and HP-UX was derived from OSF.

>
>>> Did the LVM in Linux and AIX come out around the year 2000 or so? If
>>> so, any major changes since then?

>> Re-read above.
>>
>> JFS has been on AIX since inception.
>>
>>> If the LVM of Linux and AIX did come out around the same time, why the
>>> difference in terminology? In Linux you have physical extents vs AIX
>>> physical partitions? To grow a logical volume in Linux you "lvextend".
>>> Not the same in AIX?

>> Re-read above & copyright comment.
>>
>>> I am looking to automate the allocation of space as much as possible. I
>>> am an AS400 refugee where OS400 handles all of this automatically. I
>>> like the flexibility of the LVM approach but would like the ability to
>>> put the system on auto pilot also.

>> Which may work until the first time you have a process run-away and it
>> sucks every bit of available disk space.

>
> in OS400 you set a size limit at the file level. The OS400 library,
> which is roughly equivalent to the UNIX file system, has no size
> limits.


Sure it does, you fill up the disk, the file stops.

If you want, you can do the same to AIX or pretty much any OS.

AS400s were designed for a niche market and they served it reasonably
well.

> The size limit of the files ( we are talking database files )
> is set to a number of rows. You can set the limit to *nomax or a
> number of rows you know the file/table will never grow to. The default
> for a new table might be 30,000 rows. When you hit the limit the job
> stops, an inquiry message is sent to the QSYSOPR message queue, and you
> can respond to cancel the job or increase the size limit and the job
> continues on its merry way. Works very well. I have never seen an
> as400 system crash because of a run away job.


It's a reasonably mature, stable platform... you shouldn't see
many crashes.

Please note that I didn't say I liked RPG etc.

> They do run out of
> space, but that is because idiot IBM prices i5 hardware and i5/OS
> software at such a premium that users often are running on undersized
> systems. I drool when I visit the IBM p5 site and see the quad core
> systems selling at market prices. A quad core i5 will be priced at mid
> 6 figures easy.


That's because IBM can bleed you as they wish... what alternate source
do you have for OS400

>
>> There are lots of good reasons to put limits on things.
>>
>> Rather than looking for a panacea for an OS switch, start reading.

>
> WIll do. Appreciate any help I get.


OK, don't take the following personally.

It's considered lame by many to ask questions that are in the FAQ or
could be answered by a simple google/ask query.

If you do that a lot, people will ignore you.

My response to you was/is actually quite polite for usenet :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:29 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514