Nix, Robert P. wrote:
Having Linux up in a zOS partition would be a neat trick, unless you brought
zOS down first... Are you talking about a separate LPAR on your system, or did
you mean zVM?
You can share DASD between Linux instances, as long as the disk is read-only to
all Linux images that can see it. Remember that Linux caches information in
storage to speed disk access. If someone has read-write access to a disk, as
soon as it writes to the disk, any other instances with read-only access no
longer have a valid view of the disk. If multiple instances have read-write
access to the same disk.... Be sure your backups are in order.
Now, there are filesystems out there that allow multiple read-write access to a
disk, but I haven't heard of anyone actually using those on zLinux. The
standard filesystems (EXT2, EXT3, Reiser...) will almost instantly corrupt if
multiple instances write to them.
Sharing with nfs works well: one system does all the disk access, and
others rw the data over the network.
Consider enabling autofs (install it, uncomment the .net line in
/etc/auto.master). All your NFS exports appear under /net on demand:
[EMAIL PROTECTED] ~]$ ls /net
total 0
[EMAIL PROTECTED] ~]$ ls /net/ns.test.lan
total 0
dr-xr-xr-x 3 root 0 Jun 2 08:09 home
dr-xr-xr-x 2 root 0 Jun 2 08:09 misc
dr-xr-xr-x 3 root 0 Jun 2 08:09 tftpboot
dr-xr-xr-x 4 root 0 Jun 2 08:09 var
[EMAIL PROTECTED] ~]$
After a period of disuse they dismount automatically.
Note: autofs will mount anything that mount mounts; the magic in /net is
a script to see what can be mounted.
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
do not reply off-list
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390