* New to Digital UNIX..
@ 1998-06-09 4:00 Hans Westerback
1998-06-10 4:00 ` Mark & Suzanne (gcs might work)
1998-06-10 4:00 ` Mark & Suzanne (gcs might work)
0 siblings, 2 replies; 6+ messages in thread
From: Hans Westerback @ 1998-06-09 4:00 UTC (permalink / raw)
Hi,
I'm new to Dunix 4.0, and have earlier only worked a bit on Solaris. As
I've inherited a couple of Digital servers, which have been installed by
DEC, so noone here knows the configuration.
Can some kind soul give me a hint on good commands to quickly get a feel
for the disk setup, I mean I'd like to know which disks there are on
the system, which one are used by advfs and lsm and how.
I find lots of commands, but what I'd like is a few hints from you
experienced DNIX managers, how would you go about it when you sit down
at a new system and quickly wants to "size it up".
Like in solaris, I'd first use format to see all disks, then df to see
which partitions have file systems mounted. If I also see some
Disksuite devices, I then use metastat to see which partitions they use.
But in Dunix with Advfs and LSM...
Rgds and thanks
Hans
--
Hans Westerback * E-Mail : hans.westerback@edt.ericsson.se
LM Ericsson Data AB * Memo : edt.edthwes
G�talandsv�gen 230 * Phone : +46-8-7262652
S-125 82 Stockholm * Fax : +46-8-7217131
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: New to Digital UNIX..
1998-06-09 4:00 New to Digital UNIX Hans Westerback
@ 1998-06-10 4:00 ` Mark & Suzanne (gcs might work)
1998-06-10 4:00 ` Mark & Suzanne (gcs might work)
1 sibling, 0 replies; 6+ messages in thread
From: Mark & Suzanne (gcs might work) @ 1998-06-10 4:00 UTC (permalink / raw)
Hans Westerback wrote:
>
>
> Can some kind soul give me a hint on good commands to quickly get a feel
> for the disk setup, I mean I'd like to know which disks there are on
> the system, which one are used by advfs and lsm and how.
Like most things on UNIX there are always serveral ways to get the
answer to any given
question.
When it comes to disks Digital UNIX showes more of its BSD side than
SYSV
The current naming scheme for SCSI based disks are /dev/rz* /dev/rrz*
The * may be either of two formats depending if you have SCSI LUNS
involved.
The simple case for a standalone SCSI disk on a non RAID bus is
/dev/rz followed by a number followed by the letter a-h
The number of represents the disk number (bus# * 8 + SCSIID) the letter
a-h
is a partition table entry for the drive.
eg /dev/rrz1h
The partition table may exist in memory and or on the first blocks of
the disk,
by convention and default two partitions are based at block 0 a and c.
The c partition
is defaulted to the whole disk. Refer to /etc/disktab
Use the disklabel command to read/write/edit the label with its
partition layout
There is a GUI /usr/sbin/diskconfig it does stupid things with size cals
(eg 1K = 1000)
and somewhat likes to start with a clean disk your mileage may vary :)
If all of the disk are configured properly and the device files created
in /dev
cd /dev
./MAKEDEV rz0 rz1 rz2 ...
then you can use file to find all of the disks
Your must do this as root to get the probe to work
file /dev/rrz*c
# file /dev/rrz*c
/dev/rrz0c: character special (8/2) SCSI #0 RZ28M disk #0 (SCSI ID
#0) (SCSI LUN #0)
/dev/rrz10c: character special (8/18434) SCSI #1 RZ29B disk #80 (SCSI
ID #2) (SCSI LUN #0)
/dev/rrz1c: character special (8/1026) SCSI #0 RZ28B disk #8 (SCSI
ID #1) (SCSI LUN #0)
/dev/rrz2c: character special (8/2050) SCSI #0 RZ28M disk #16 (SCSI
ID #2) (SCSI LUN #0)
/dev/rrz4c: character special (8/4098) SCSI #0 RRD45 disk #32 (SCSI
ID #4) (SCSI LUN #0)
/dev/rrz8c: character special (8/16386) SCSI #1 RZ28D disk #64 (SCSI
ID #0) (SCSI LUN #0)
Also if you don't have an already configure system and need to find
them. You can
either look a the boot record which may tell you some of the disks uerf
-R -r 300 | more
or look in /var/adm/messages or Which will physically probe each
connected SCSI bus for devices
scu
scu> scan edt
Scanning all available buses, please be patient...
scu> show edt
CAM Equipment Device Table (EDT) Information:
Device: RZ28M Bus: 0, Target: 0, Lun: 0, Type: Direct Access
Device: RZ28B Bus: 0, Target: 1, Lun: 0, Type: Direct Access
Device: RZ28M Bus: 0, Target: 2, Lun: 0, Type: Direct Access
Device: RRD45 Bus: 0, Target: 4, Lun: 0, Type: Read-Only Direct
Access
Device: TLZ07 Bus: 0, Target: 5, Lun: 0, Type: Sequential
Access
Device: RZ28D Bus: 1, Target: 0, Lun: 0, Type: Direct Access
Device: RZ29B Bus: 1, Target: 2, Lun: 0, Type: Direct Access
df will quickly tell you about what file systems are mounted as advfs
(so will mount)
any advfs will have a device of domain#fileset eg. root_domain#root /
You can use showfdmn root_domain to check out the root domain
showfsets root_domain to see what file sets are in the given domain.
Also if you
look in /etc/fdmns any directory here is potentially a domain name (this
is the only
this that gives a domain a name no on disk structures or other
complexities)
so to rename a domain just mv the directory to another name in
/etc/fdmns
The structure next below this in /etc/fdmns just contains symbolic links
back to the partition
or lsm volume in /dev
ls -lag /etc/fdmns/usr_domain# ls -lag /etc/fdmns/usr_domain
total 16
drwxr-xr-x 2 root system 8192 Feb 14 08:46 .
drwxr-xr-x 8 root system 8192 Jan 16 1997 ..
lrwxrwxrwx 1 root system 9 Jan 16 1997 rz0g -> /dev/rz0g
lrwxrwxrwx 1 root system 10 Jan 17 1997 rz10e ->
/dev/rz10e
lrwxr-xr-x 1 root system 9 Jan 16 1997 rz2h -> /dev/rz2h
lrwxr-xr-x 1 root system 9 Jan 16 1997 rz8h -> /dev/rz8h
There are no hidden mysteries with this one. Fileset name are on disk
structure and you will
need renamefset mkfset rmfset do manipulate filesets.
Files are mounted by /etc/fstab you may also what to check out the GUI
dtadvfs
You should also get sys_check from Digitals web page it does a good job
of canning a lot of these
commands together to produce a html file describing a system and will
also create /var/recovery
with all of the disk labels etc so that this is available in the backup
of the /var file system
>
> But in Dunix with Advfs and LSM...
This is a few commands from the hip, if your also have LSM involved it
appears as another layer
between physical partitions and the filesystem. You may want to check
out dxlsm but most of all
get the manual on LSM and read it a few times then find somewhere to
test what you have learnt
in safety. LSM has two many ways of achieving a similar result and will
allow you to create
dangerous configs with out much or any warning that your standing to
close to the edge. This is
getting better each time they release a new version, but in anycase RTFM
this one, don't skip
out on the reading. Do a man on all of the command mentioned try running
them, good luck.
Cheers
mark :)
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: New to Digital UNIX..
1998-06-09 4:00 New to Digital UNIX Hans Westerback
1998-06-10 4:00 ` Mark & Suzanne (gcs might work)
@ 1998-06-10 4:00 ` Mark & Suzanne (gcs might work)
1 sibling, 0 replies; 6+ messages in thread
From: Mark & Suzanne (gcs might work) @ 1998-06-10 4:00 UTC (permalink / raw)
Hans Westerback wrote:
>
>
> Can some kind soul give me a hint on good commands to quickly get a feel
> for the disk setup, I mean I'd like to know which disks there are on
> the system, which one are used by advfs and lsm and how.
Like most things on UNIX there are always serveral ways to get the
answer to any given
question.
When it comes to disks Digital UNIX showes more of its BSD side than
SYSV
The current naming scheme for SCSI based disks are /dev/rz* /dev/rrz*
The * may be either of two formats depending if you have SCSI LUNS
involved.
The simple case for a standalone SCSI disk on a non RAID bus is
/dev/rz followed by a number followed by the letter a-h
The number of represents the disk number (bus# * 8 + SCSIID) the letter
a-h
is a partition table entry for the drive.
eg /dev/rrz1h
The partition table may exist in memory and or on the first blocks of
the disk,
by convention and default two partitions are based at block 0 a and c.
The c partition
is defaulted to the whole disk. Refer to /etc/disktab
Use the disklabel command to read/write/edit the label with its
partition layout
There is a GUI /usr/sbin/diskconfig it does stupid things with size cals
(eg 1K = 1000)
and somewhat likes to start with a clean disk your mileage may vary :)
If all of the disk are configured properly and the device files created
in /dev
cd /dev
./MAKEDEV rz0 rz1 rz2 ...
then you can use file to find all of the disks
Your must do this as root to get the probe to work
file /dev/rrz*c
# file /dev/rrz*c
/dev/rrz0c: character special (8/2) SCSI #0 RZ28M disk #0 (SCSI ID
#0) (SCSI LUN #0)
/dev/rrz10c: character special (8/18434) SCSI #1 RZ29B disk #80 (SCSI
ID #2) (SCSI LUN #0)
/dev/rrz1c: character special (8/1026) SCSI #0 RZ28B disk #8 (SCSI
ID #1) (SCSI LUN #0)
/dev/rrz2c: character special (8/2050) SCSI #0 RZ28M disk #16 (SCSI
ID #2) (SCSI LUN #0)
/dev/rrz4c: character special (8/4098) SCSI #0 RRD45 disk #32 (SCSI
ID #4) (SCSI LUN #0)
/dev/rrz8c: character special (8/16386) SCSI #1 RZ28D disk #64 (SCSI
ID #0) (SCSI LUN #0)
Also if you don't have an already configure system and need to find
them. You can
either look a the boot record which may tell you some of the disks uerf
-R -r 300 | more
or look in /var/adm/messages or Which will physically probe each
connected SCSI bus for devices
scu
scu> scan edt
Scanning all available buses, please be patient...
scu> show edt
CAM Equipment Device Table (EDT) Information:
Device: RZ28M Bus: 0, Target: 0, Lun: 0, Type: Direct Access
Device: RZ28B Bus: 0, Target: 1, Lun: 0, Type: Direct Access
Device: RZ28M Bus: 0, Target: 2, Lun: 0, Type: Direct Access
Device: RRD45 Bus: 0, Target: 4, Lun: 0, Type: Read-Only Direct
Access
Device: TLZ07 Bus: 0, Target: 5, Lun: 0, Type: Sequential
Access
Device: RZ28D Bus: 1, Target: 0, Lun: 0, Type: Direct Access
Device: RZ29B Bus: 1, Target: 2, Lun: 0, Type: Direct Access
df will quickly tell you about what file systems are mounted as advfs
(so will mount)
any advfs will have a device of domain#fileset eg. root_domain#root /
You can use showfdmn root_domain to check out the root domain
showfsets root_domain to see what file sets are in the given domain.
Also if you
look in /etc/fdmns any directory here is potentially a domain name (this
is the only
this that gives a domain a name no on disk structures or other
complexities)
so to rename a domain just mv the directory to another name in
/etc/fdmns
The structure next below this in /etc/fdmns just contains symbolic links
back to the partition
or lsm volume in /dev
ls -lag /etc/fdmns/usr_domain# ls -lag /etc/fdmns/usr_domain
total 16
drwxr-xr-x 2 root system 8192 Feb 14 08:46 .
drwxr-xr-x 8 root system 8192 Jan 16 1997 ..
lrwxrwxrwx 1 root system 9 Jan 16 1997 rz0g -> /dev/rz0g
lrwxrwxrwx 1 root system 10 Jan 17 1997 rz10e ->
/dev/rz10e
lrwxr-xr-x 1 root system 9 Jan 16 1997 rz2h -> /dev/rz2h
lrwxr-xr-x 1 root system 9 Jan 16 1997 rz8h -> /dev/rz8h
There are no hidden mysteries with this one. Fileset name are on disk
structure and you will
need renamefset mkfset rmfset do manipulate filesets.
Files are mounted by /etc/fstab you may also what to check out the GUI
dtadvfs
You should also get sys_check from Digitals web page it does a good job
of canning a lot of these
commands together to produce a html file describing a system and will
also create /var/recovery
with all of the disk labels etc so that this is available in the backup
of the /var file system
>
> But in Dunix with Advfs and LSM...
This is a few commands from the hip, if your also have LSM involved it
appears as another layer
between physical partitions and the filesystem. You may want to check
out dxlsm but most of all
get the manual on LSM and read it a few times then find somewhere to
test what you have learnt
in safety. LSM has two many ways of achieving a similar result and will
allow you to create
dangerous configs with out much or any warning that your standing to
close to the edge. This is
getting better each time they release a new version, but in anycase RTFM
this one, don't skip
out on the reading. Do a man on all of the command mentioned try running
them, good luck.
Cheers
mark :)
^ permalink raw reply [flat|nested] 6+ messages in thread
* new to Digital Unix
@ 1998-01-10 5:00 john west
1998-01-26 5:00 ` Rodger Vaughan
0 siblings, 1 reply; 6+ messages in thread
From: john west @ 1998-01-10 5:00 UTC (permalink / raw)
Hello all I am new to the Digital Unix world so new in fact I haven't bought
the box yet. Thus I am playing let's second guess 5 weeks worth of white
paper reviewing, manufacturer sizing sessions and general sales speak on my
decision to move our company off an IBM AIX platform and onto a Digital UNIX
one. I have had horror stories from all sides as to each others offerings,
along with how wonderful brand x tastes by puppets they have allowed me
access to so I am looking for someone elses (hopefully this is the right
news group for Digital Unix users if there is a better one please let me
know) good or bad stories. A short story... viewed Sun, HP, IBM and DEC
liked performance of DEC, liked price of DEC, liked lack of need for OS
upgrades in near term hopefully from DEC so I chose a DEC platform. Heres
what I got tell me what you think...
8400 5/655 x 4 proc, 8GB Ram connected via 4 HSZ-70 cards to 91 9GB drives
in an external chassis connected an 4100 5/533 x 4 proc, 4 GB in an
truecluster HA conf. I realize thats not enough for anyone to see the
manner i've got the drives conf for speed etc but taking it for what it's
worth I believe we have the right config for great performance from the
Drive Subsystem. (The 20MB throughput per channel should be 40MB by the time
I really start using it from the upgrade on the controllers we are getting)
It was this or an IBM s70 (new raven r64 chipset) 8way with 8 GB using SSA
config for simular drive config with a HACMP connection to a 4way F50 with
4GB.
So anyway thanks for taking the time to read through this and give me a yell
if going with DEC has been the best or hopefully no the worst choice you've
made.
TIA
john west
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: new to Digital Unix
1998-01-10 5:00 new to Digital Unix john west
@ 1998-01-26 5:00 ` Rodger Vaughan
1998-02-01 5:00 ` Jeffrey J. Potoff
0 siblings, 1 reply; 6+ messages in thread
From: Rodger Vaughan @ 1998-01-26 5:00 UTC (permalink / raw)
john west wrote:
> Hello all I am new to the Digital Unix world so new in fact I haven't bought
> the box yet. Thus I am playing let's second guess 5 weeks worth of white
> paper reviewing, manufacturer sizing sessions and general sales speak on my
> decision to move our company off an IBM AIX platform and onto a Digital UNIX
> one. I have had horror stories from all sides as to each others offerings,
> along with how wonderful brand x tastes by puppets they have allowed me
> access to so
I manage a network with both the S70 (4 cpu's) and DEC 4100's (2 cpu's) running
Progress DB'sOn identical DB's the DEC will eat the the S70 really
bad.........
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: new to Digital Unix
1998-01-26 5:00 ` Rodger Vaughan
@ 1998-02-01 5:00 ` Jeffrey J. Potoff
0 siblings, 0 replies; 6+ messages in thread
From: Jeffrey J. Potoff @ 1998-02-01 5:00 UTC (permalink / raw)
> john west wrote:
>
> > Hello all I am new to the Digital Unix world so new in fact I haven't bought
> > the box yet. Thus I am playing let's second guess 5 weeks worth of white
> > paper reviewing, manufacturer sizing sessions and general sales speak on my
> > decision to move our company off an IBM AIX platform and onto a Digital UNIX
> > one. I have had horror stories from all sides as to each others offerings,
> > along with how wonderful brand x tastes by puppets they have allowed me
> > access to so
We used to have a couple of AIX machines and while they weren't all that
bad, they weren't all that good either. We moved to Digital UNIX a year
ago and it's been great, at least for what we do. It was a happy day
when I got to turn those AIX machines off for good. :)
Jeff
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-06-10 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-09 4:00 New to Digital UNIX Hans Westerback
1998-06-10 4:00 ` Mark & Suzanne (gcs might work)
1998-06-10 4:00 ` Mark & Suzanne (gcs might work)
-- strict thread matches above, loose matches on Subject: below --
1998-01-10 5:00 new to Digital Unix john west
1998-01-26 5:00 ` Rodger Vaughan
1998-02-01 5:00 ` Jeffrey J. Potoff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox