Unix Technical Forum

is there an equivalent to slices on aix and how to mount.

This is a discussion on is there an equivalent to slices on aix and how to mount. within the AIX Operating System forums, part of the Unix Operating Systems category; --> Scenario: I've got two hard drives in a single machine, one with aix 5.2 and one with aix 5.3. ...


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, 08:12 AM
kevinm3574
 
Posts: n/a
Default is there an equivalent to slices on aix and how to mount.

Scenario:

I've got two hard drives in a single machine, one with aix 5.2 and one
with aix 5.3. I use these to dual-boot the machine for development
purposes.

I would like to be able to, while booted into one or the other os,
"mount" a partition from the other drive to access a file or files
(like doing a mount /dev/dsk/c0t0d0s1 /mnt in Solaris while being
booted on the c0t0d1 disk). So basically, if booted on hdisk0 I would
like to be able to do a "mount /dev/hdisk1/somepartition /mnt be be
able to access files on hdisk1 in the "somepartition" partition via
/mnt.

Thanks.

kevin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 08:12 AM
vlad.zam@gmail.com
 
Posts: n/a
Default Re: is there an equivalent to slices on aix and how to mount.

in your case ( and that would be true ONLY for the case you described )
the use of alt_disk_install -W hdisk1 will varyon volume group
altins_rootvg (which is rootvg on hdisk1) and mount /altinst_*
filesystems so you'll be able to access files on hdisk1. In other case
( where is no rootvg no the disk you're trying to access ) the vayonvg
of the volume group that's on that disk will let you mount filesystems
( which in turn are logical volumes ) to any mount points you can
define...
-Vlad

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 08:12 AM
aix@mail.com
 
Posts: n/a
Default Re: is there an equivalent to slices on aix and how to mount.

ONLY if an alt_disk_install procedure was done to get the AIX 5.3
version onto the second disk, and ONLY to be able to mount filesystems
from the AIX 5.2 system onto the running AIX 5.3 system. It will not
work from running AIX 5.2 to mount AIX 5.3 filesystems.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 08:12 AM
Gary R. Hook
 
Posts: n/a
Default Re: is there an equivalent to slices on aix and how to mount.

aix@mail.com wrote:
> ONLY if an alt_disk_install procedure was done to get the AIX 5.3
> version onto the second disk, and ONLY to be able to mount filesystems
> from the AIX 5.2 system onto the running AIX 5.3 system. It will not
> work from running AIX 5.2 to mount AIX 5.3 filesystems.
>


In other words, the easiest, most foolproof way to share files is
to use a non-rootvg volume group with separate filesytems.
Rootvg's on the same box do not play well together.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 08:13 AM
kevinm3574
 
Posts: n/a
Default Re: is there an equivalent to slices on aix and how to mount.

Not to ridicule IBM, but I find it amusing (and somewhat ludicrous)
that this functionality, available in Solaris, Linux, HPUX, and even
Windows for crying out loud, is not available in AIX. I can
understand, to a certain extent, if you could not "mount" an AIX5.3
"partition" on an instance of AIX5.2 (possibly filesystem types that
AIX5.2 wouldn't understand) but to not be able to do the reverse just
seems quite lame. Poor design, IYAM (not that anyone did mind
you...;-) ).

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-05-2008, 08:13 AM
sjm
 
Posts: n/a
Default Re: is there an equivalent to slices on aix and how to mount.

It's not a filesystem issue at all. It is that filesystems exist on
Logical Volumes (LVs) and AIX LVM manages LVs within VGs, and VGs are a
whole number of Physical Volumes (PVs - disks to you), and there are
Good Reasons Why.

Cheap solution? Buy one more disk - create a VG with that PV as it's
disk and away you go.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-05-2008, 08:13 AM
Jurjen Oskam
 
Posts: n/a
Default Re: is there an equivalent to slices on aix and how to mount.

On 2006-01-03, kevinm3574 <kevintm@ameritech.net> wrote:

> Not to ridicule IBM, but I find it amusing (and somewhat ludicrous)
> that this functionality, available in Solaris, Linux, HPUX, and even
> Windows for crying out loud, is not available in AIX.


It *is* available. On AIX < 5.3: alt_disk_install. On AIX > 5.3:
alt_disk_copy, alt_disk_mksysb, alt_rootvg_op.

--
Jurjen Oskam
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-05-2008, 08:13 AM
Jurjen Oskam
 
Posts: n/a
Default Re: is there an equivalent to slices on aix and how to mount.

On 2006-01-04, Jurjen Oskam <joskam@quadpro.stupendous.org> wrote:

> It *is* available. On AIX < 5.3: alt_disk_install. On AIX > 5.3:
> alt_disk_copy, alt_disk_mksysb, alt_rootvg_op.


And in between those AIX versions, also alt_disk_copy, alt_disk_mksysb
and alt_rootvg_op...

--
Jurjen Oskam
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-05-2008, 08:14 AM
zyzygy@telstra.com
 
Posts: n/a
Default Re: is there an equivalent to slices on aix and how to mount.


Jurjen Oskam wrote:
> On 2006-01-04, Jurjen Oskam <joskam@quadpro.stupendous.org> wrote:
>
> > It *is* available. On AIX < 5.3: alt_disk_install. On AIX > 5.3:
> > alt_disk_copy, alt_disk_mksysb, alt_rootvg_op.

>
> And in between those AIX versions, also alt_disk_copy, alt_disk_mksysb
> and alt_rootvg_op...
>
> --
> Jurjen Oskam


For something even neater look at multibos in the AIX Information
Center.

Multiple AIX instances on a single rootvg!


Steve

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-05-2008, 08:14 AM
vlad.zam@gmail.com
 
Posts: n/a
Default Re: is there an equivalent to slices on aix and how to mount.

the latest sugestion wouldn't work on 5.2, it works only on 5.3
beginning with ML3, so the alt_* commands are the options the get by
with inter-OS level copy-modifying.

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 01:20 AM.


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