System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How do i determine where each filesets are located in physical disk

SOLVED
Go to solution
Narayanan_2
Advisor

How do i determine where each filesets are located in physical disk

I am able to identify my disk as rz1,re0, etc. There are 5 hdisk, non-raid, using advfs. How do i find out where each file domains, filesets are located in the physical disk?
9 REPLIES
邹琪
Occasional Contributor
Solution

Re: How do i determine where each filesets are located in physical disk

showfdmn -k [domain]
showfsets -b [domain]
Ralf Puchner
Honored Contributor

Re: How do i determine where each filesets are located in physical disk

or

# ls -la /etc/fdmns/
Help() { FirstReadManual(urgently); Go_to_it;; }
Narayanan_2
Advisor

Re: How do i determine where each filesets are located in physical disk

I have a volume. How do i find out where this is located?
Ralf Puchner
Honored Contributor

Re: How do i determine where each filesets are located in physical disk

# ls -laR /etc/fdmns |more
Help() { FirstReadManual(urgently); Go_to_it;; }
Michael Schulte zur Sur
Honored Contributor

Re: How do i determine where each filesets are located in physical disk

Hi,

if howerver for some reason /etc/fdmns/domainname is missing then you will have to search the disks with advscan.

greetings,

Michael
Narayanan_2
Advisor

Re: How do i determine where each filesets are located in physical disk

Thanks for the answers. One more question on this, how do i know if the volumn is mirrored or using raid?
Ralf Puchner
Honored Contributor

Re: How do i determine where each filesets are located in physical disk

If the listed device is within /dev/vol it is a lsm volume which could be mirrored or striped.

Hardware raid devices can not be seen. Maybe the "file" command to the raw device will give you a clue.
Help() { FirstReadManual(urgently); Go_to_it;; }
Michael Schulte zur Sur
Honored Contributor

Re: How do i determine where each filesets are located in physical disk

Hi,

the mylex controller reports drives in /var/adm/messages like:
Jul 1 17:59:29 fra01d vmunix: xcr0 at pci1 slot 9
Jul 1 17:59:29 fra01d vmunix: RAID-ctlr-0-unit-0 at xcr0 unit 0 (unit status = ONLINE, raid level = 1)

hsz and hsg controllers: use storage works console or the local controller port to show device configuraion.
kzpcc: use storage works console.

lsm: use the graphic lsm administrator dxlsm.

greetings,

Michael
Ralf Puchner
Honored Contributor

Re: How do i determine where each filesets are located in physical disk

# ls -laR /etc/fdmns
./usr_domain:
total 16
drwxr-xr-x 2 root system 8192 Sep 13 2001 .
drwxr-xr-x 6 root system 8192 Dez 3 12:11 ..
lrwxrwxrwx 1 root system 9 Sep 13 2001 rz0g -> /dev/rz0g

-> /dev/rz0g is part of usr_domain
(if /dev/vol/vol01 lsm device)

# file /dev/rrz0g
/dev/rrz0g: character special (8/6) SCSI #0 RZ29B disk #0 (SCSI ID #0) (SCSI
LUN #0)

-> RZ29B is on SCSI Bus 0 ID 0, local disk
(verify against /var/adm/messages output to receive controller and hardware information)
Help() { FirstReadManual(urgently); Go_to_it;; }