Tru64 LSM

Richard Loken richardlo at admin.athabascau.ca
Mon Jun 22 14:20:55 CDT 2015


On Mon, 22 Jun 2015, Benjamin Huntsman wrote:

>    I'm using AdvFS.  You just mean that the partitions don't actually have
> to conform to any specific convention, right? The AdvFs domains still get
> defined on disk partitions, if you look at the symlinks in
> /etc/fdmns/<domain_name>.

Now I'm embarrassed!  Yes, it just means I don't know what I am talking
about.  So, on a machine with a local disk, disklabel says this:

  a:      2097153            0     AdvFS
  b:       524287      2097153      swap
  c:     35545088            0    unused   1024   8192
  d:     11324074      1572864    unused   1024   8192
  e:      8388608     11010048     AdvFS
  f:     16146432     19398656     AdvFS
  g:      8388608      2621440     AdvFS
  h:     29671424      5873664    unused   1024   8192

and /etc/fdmns says this:

drwxr-xr-x   2 root     system      8192 Feb 24  2003 local_domain/
drwxr-xr-x   2 root     system      8192 Feb 24  2003 root_domain/
drwxr-xr-x   2 root     system      8192 Feb 24  2003 usr_domain/
drwxr-xr-x   2 root     system      8192 Feb 24  2003 var_domain/

And in turn:

root_domain:  dsk0a@ -> /dev/disk/dsk0a
usr_domain:   dsk0e@ -> /dev/disk/dsk0e
var_domain:   dsk0g@ -> /dev/disk/dsk0g
local_domain: dsk0f@ -> /dev/disk/dsk0f

So it is indeed partitioned with disklabel and / is indeed on dsk0a:

>    You can put a symlink to a LSM volume in there too, but the problem I'm
> running into is that the installer (text-based, because I don't have a
> graphics card) is fairly insistent upon applying a disklabel that it
> calculates as barely sufficient to hold the stuff you're trying to
> install, and wants to use 'a' for boot, 'b' for swap, 'd' for the LSM
> private partition, and so on and so forth.  I'll probably have to resort
> to setting it up without LSM, then encapsulating it, but again that
> wouldn't lead to a "sliced" LSM disk.  (I think)

I started to read the LSM manual just now but gave it up as a lot of work
that I sould not be doing on company time.

>    Might you be so kind as to show the ls -la from your /etc/fdmns/*/, and
> the disklabel -r dskX from the disks?

See attached.

-- 
   Richard Loken VE6BSV, Unix System Administrator : "Anybody can be a father
   Athabasca University                            :  but you have to earn
   Athabasca, Alberta Canada                       :  the title of 'daddy'"
   ** richardlo at admin.athabascau.ca **             :  - Lynn Johnston
-------------- next part --------------
# /dev/rdisk/dsk0c:
type: SCSI
disk: i2o_bs
label: 
flags: dynamic_geometry
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 128
sectors/cylinder: 4096
cylinders: 8678
sectors/unit: 35545088
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

8 partitions:
#            size       offset    fstype  fsize  bsize   cpg  # ~Cyl values
  a:      2097153            0     AdvFS                      #      0 - 512*
  b:       524287      2097153      swap                      #    512*- 639 
  c:     35545088            0    unused   1024   8192        #      0 - 8677 
  d:     11324074      1572864    unused   1024   8192        #    384 - 3148*
  e:      8388608     11010048     AdvFS                      #   2688 - 4735 
  f:     16146432     19398656     AdvFS                      #   4736 - 8677 
  g:      8388608      2621440     AdvFS                      #    640 - 2687 
  h:     29671424      5873664    unused   1024   8192        #   1434 - 8677 
-------------- next part --------------
total 208
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ./
drwxr-xr-x  19 root     system     16384 Jun  8 11:01 ../
-r--------   1 root     system         0 May 14  2002 .advfslock_a2p1_domain
-r--------   1 root     system         0 Apr  3  2006 .advfslock_a2p2_domain
-r--------   1 root     system         0 Apr  3  2006 .advfslock_a2p3_domain
-r--------   1 root     system         0 Mar  7  2006 .advfslock_app2_domain
-r--------   1 root     system         0 Mar  7  2006 .advfslock_app_domain
-r--------   1 root     system         0 Sep  9  2002 .advfslock_b2p1_domain
-r--------   1 root     system         0 Apr  3  2006 .advfslock_b2p2_domain
-r--------   1 root     system         0 Apr  3  2006 .advfslock_b2p3_domain
-r--------   1 root     system         0 Mar  7  2006 .advfslock_back_domain
-r--------   1 root     system         0 Mar  7  2006 .advfslock_dat1_domain
-r--------   1 root     system         0 Mar  7  2006 .advfslock_dat2_domain
-r--------   1 root     system         0 Sep 24  2004 .advfslock_e1p1_domain
-r--------   1 root     system         0 Sep 24  2004 .advfslock_e1p2_domain
-r--------   1 root     system         0 Sep 24  2004 .advfslock_e1p3_domain
-r--------   1 root     system         0 Sep 24  2004 .advfslock_e1p4_domain
-r--------   1 root     system         0 May  9  2002 .advfslock_fdmns
-r--------   1 root     system         0 Mar  7  2006 .advfslock_idx1_domain
-r--------   1 root     system         0 Mar  7  2006 .advfslock_idx2_domain
-r--------   1 root     system         0 May  9  2002 .advfslock_local_domain
-r--------   1 root     system         0 May  9  2002 .advfslock_root_domain
-r--------   1 root     system         0 Mar  7  2006 .advfslock_test_domain
-r--------   1 root     system         0 Sep 23  2004 .advfslock_tmp2_domain
-r--------   1 root     system         0 May  9  2002 .advfslock_usr_domain
-r--------   1 root     system         0 May  9  2002 .advfslock_var_domain
drwxr-x---   2 root     system      8192 Sep 25  2013 a2p1_domain/
drwxr-xr-x   2 root     system      8192 Sep 25  2013 a2p2_domain/
drwxr-xr-x   2 root     system      8192 Sep 25  2013 a2p3_domain/
drwxr-xr-x   2 root     system      8192 Mar  7  2006 app2_domain/
drwxr-xr-x   2 root     system      8192 Mar  7  2006 app_domain/
drwxr-x---   2 root     system      8192 Feb 25  2003 b2p1_domain/
drwxr-xr-x   2 root     system      8192 Apr  3  2006 b2p2_domain/
drwxr-xr-x   2 root     system      8192 Apr  3  2006 b2p3_domain/
drwxr-xr-x   2 root     system      8192 Mar  7  2006 back_domain/
drwxr-xr-x   2 root     system      8192 Jan  3  2010 dat1_domain/
drwxr-xr-x   2 root     system      8192 Mar  3  2010 dat2_domain/
drwxr-xr-x   2 root     system      8192 Feb 27  2006 e1p1_domain/
drwxr-xr-x   2 root     system      8192 Feb 27  2006 e1p2_domain/
drwxr-xr-x   2 root     system      8192 Feb 27  2006 e1p3_domain/
drwxr-xr-x   2 root     system      8192 Feb 27  2006 e1p4_domain/
drwxr-xr-x   2 root     system      8192 Dec  4  2014 idx1_domain/
drwxr-xr-x   2 root     system      8192 Mar  7  2006 idx2_domain/
drwxr-xr-x   2 root     system      8192 Feb 24  2003 local_domain/
drwxr-xr-x   2 root     system      8192 Feb 24  2003 root_domain/
drwxr-xr-x   2 root     system      8192 Mar  3  2010 test_domain/
drwxr-xr-x   2 root     system      8192 Feb 15  2006 tmp2_domain/
drwxr-xr-x   2 root     system      8192 Feb 24  2003 usr_domain/
drwxr-xr-x   2 root     system      8192 Feb 24  2003 var_domain/

/etc/fdmns/a2p1_domain:
total 16
drwxr-x---   2 root     system      8192 Sep 25  2013 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-x---   1 root     system        16 Feb 25  2003 dsk14c@ -> /dev/disk/dsk14c

/etc/fdmns/a2p2_domain:
total 16
drwxr-xr-x   2 root     system      8192 Sep 25  2013 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Apr  3  2006 dsk13c@ -> /dev/disk/dsk13c

/etc/fdmns/a2p3_domain:
total 16
drwxr-xr-x   2 root     system      8192 Sep 25  2013 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Apr  3  2006 dsk12c@ -> /dev/disk/dsk12c

/etc/fdmns/app2_domain:
total 16
drwxr-xr-x   2 root     system      8192 Mar  7  2006 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Mar  7  2006 dsk32c@ -> /dev/disk/dsk32c

/etc/fdmns/app_domain:
total 16
drwxr-xr-x   2 root     system      8192 Mar  7  2006 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Mar  7  2006 dsk40c@ -> /dev/disk/dsk40c

/etc/fdmns/b2p1_domain:
total 16
drwxr-x---   2 root     system      8192 Feb 25  2003 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-x---   1 root     system        16 Feb 25  2003 dsk16c@ -> /dev/disk/dsk16c

/etc/fdmns/b2p2_domain:
total 16
drwxr-xr-x   2 root     system      8192 Apr  3  2006 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Apr  3  2006 dsk17c@ -> /dev/disk/dsk17c

/etc/fdmns/b2p3_domain:
total 16
drwxr-xr-x   2 root     system      8192 Apr  3  2006 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Apr  3  2006 dsk18c@ -> /dev/disk/dsk18c

/etc/fdmns/back_domain:
total 16
drwxr-xr-x   2 root     system      8192 Mar  7  2006 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Mar  7  2006 dsk41c@ -> /dev/disk/dsk41c

/etc/fdmns/dat1_domain:
total 16
drwxr-xr-x   2 root     system      8192 Jan  3  2010 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Mar  7  2006 dsk36c@ -> /dev/disk/dsk36c

/etc/fdmns/dat2_domain:
total 16
drwxr-xr-x   2 root     system      8192 Mar  3  2010 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Mar  7  2006 dsk28c@ -> /dev/disk/dsk28c

/etc/fdmns/e1p1_domain:
total 16
drwxr-xr-x   2 root     system      8192 Feb 27  2006 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Feb 27  2006 dsk39c@ -> /dev/disk/dsk39c

/etc/fdmns/e1p2_domain:
total 16
drwxr-xr-x   2 root     system      8192 Feb 27  2006 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Feb 27  2006 dsk38c@ -> /dev/disk/dsk38c

/etc/fdmns/e1p3_domain:
total 16
drwxr-xr-x   2 root     system      8192 Feb 27  2006 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Feb 27  2006 dsk31c@ -> /dev/disk/dsk31c

/etc/fdmns/e1p4_domain:
total 16
drwxr-xr-x   2 root     system      8192 Feb 27  2006 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Feb 27  2006 dsk30c@ -> /dev/disk/dsk30c

/etc/fdmns/idx1_domain:
total 16
drwxr-xr-x   2 root     system      8192 Dec  4  2014 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Mar  7  2006 dsk37c@ -> /dev/disk/dsk37c

/etc/fdmns/idx2_domain:
total 16
drwxr-xr-x   2 root     system      8192 Mar  7  2006 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Mar  7  2006 dsk29c@ -> /dev/disk/dsk29c

/etc/fdmns/local_domain:
total 16
drwxr-xr-x   2 root     system      8192 Feb 24  2003 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        15 Feb 24  2003 dsk0f@ -> /dev/disk/dsk0f

/etc/fdmns/root_domain:
total 16
drwxr-xr-x   2 root     system      8192 Feb 24  2003 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        15 Feb 24  2003 dsk0a@ -> /dev/disk/dsk0a

/etc/fdmns/test_domain:
total 16
drwxr-xr-x   2 root     system      8192 Mar  3  2010 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Mar  7  2006 dsk33c@ -> /dev/disk/dsk33c

/etc/fdmns/tmp2_domain:
total 16
drwxr-xr-x   2 root     system      8192 Feb 15  2006 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        16 Feb 15  2006 dsk35c@ -> /dev/disk/dsk35c

/etc/fdmns/usr_domain:
total 16
drwxr-xr-x   2 root     system      8192 Feb 24  2003 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        15 Feb 24  2003 dsk0e@ -> /dev/disk/dsk0e

/etc/fdmns/var_domain:
total 16
drwxr-xr-x   2 root     system      8192 Feb 24  2003 ./
drwxr-xr-x  25 root     system      8192 Sep 26  2013 ../
lrwxr-xr-x   1 root     system        15 Feb 24  2003 dsk0g@ -> /dev/disk/dsk0g


More information about the cctech mailing list