Well i m using sun fire and I want to view file system on each disc mount then what will be the commands?...like i want to get each disc like c0t0d0s0 and others and i want to see directories and files distributed on each discs....
From the metastat output you can see that the root disk is a mirror of c1t0d0 and c1t1d0. The slices used are s0 , s1 , s3, s4, s6 and s7 and these are used to creat the mirrors d0, d1, d3, d4, d6 and d7
So:
c1t0d0s0 and c1t1d0s0 is /
c1t0d0s3 and c1t1d0s3 is /var
c1t0d0s4 and c1t1d0s4 is /opt
c1t0d0s6 and c1t1d0s6 is /usr/local
So what about d1 and d7 ?
d1 is swap and d7 is not mounted or used, which is a bit strange as we normaly use slice7 for the metadb, but on this server slice 5 is used for the metadb
Code:
$ metadb
flags first blk block count
a m p luo 16 1034 /dev/dsk/c1t0d0s5
a p luo 1050 1034 /dev/dsk/c1t0d0s5
a p luo 16 1034 /dev/dsk/c1t1d0s5
a p luo 1050 1034 /dev/dsk/c1t1d0s5
a p luo 2084 1034 /dev/dsk/c1t0d0s5
a p luo 2084 1034 /dev/dsk/c1t1d0s5
$
$ swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d1 85,1 16 16790384 16590960
$
Thats the easy bit, the internal root disks, But how about those other metadevices ?
The other metadevices are soft partitions made on logical drives from 5 3510 disk arrays and you need a few more commands to work out what is what.
Code:
# sccli
sccli: selected device /dev/rdsk/c2t600C0FF000000000086A4C1A6991D300d0s2 [SUN StorEdge 3510 SN#086A4C]
sccli> show logical-drives
LD LD-ID Size Assigned Type Disks Spare Failed Status
------------------------------------------------------------------------
ld0 44AC0B86 955.34GB Primary RAID5 8 2 0 Good
Write-Policy Default StripeSize 128KB
ld1 37956791 955.34GB Primary RAID5 8 2 0 Good
Write-Policy Default StripeSize 128KB
ld2 498D8542 955.34GB Primary RAID5 8 2 0 Good
Write-Policy Default StripeSize 128KB
ld3 7AA9CCC2 955.34GB Primary RAID5 8 2 0 Good
Write-Policy Default StripeSize 128KB
ld4 1A6991D3 681.16GB Primary RAID5 11 3 0 Good
Write-Policy Default StripeSize 128KB
sccli> quit
#
# echo | format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000011c6c06310,0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000011c6c0cd97,0
2. c2t600C0FF000000000086A4C1A6991D300d0 <SUN-StorEdge3510-411I cyl 65533 alt 2 hd 64 sec 340>
/scsi_vhci/ssd@g600c0ff000000000086a4c1a6991d300
3. c2t600C0FF000000000086A4C7AA9CCC200d0 <SUN-StorEdge3510-411I cyl 65533 alt 2 hd 64 sec 477>
/scsi_vhci/ssd@g600c0ff000000000086a4c7aa9ccc200
4. c2t600C0FF000000000086A4C44AC0B8600d0 <SUN-StorEdge3510-411I cyl 65533 alt 2 hd 64 sec 477>
/scsi_vhci/ssd@g600c0ff000000000086a4c44ac0b8600
5. c2t600C0FF000000000086A4C498D854200d0 <SUN-StorEdge3510-411I cyl 65533 alt 2 hd 64 sec 477>
/scsi_vhci/ssd@g600c0ff000000000086a4c498d854200
6. c2t600C0FF000000000086A4C3795679100d0 <SUN-StorEdge3510-411I cyl 65533 alt 2 hd 64 sec 477>
/scsi_vhci/ssd@g600c0ff000000000086a4c3795679100
Specify disk (enter its number): Specify disk (enter its number):
#
Above you can see that we have 5 logical drives, ld0 -> ld4. Using all this output we get the following.
Drive 4 is logical drive ld0 and is metadevice d90 (relavent sections are in bold)
ld0 is 955GB and is a RAID5 of 8 physical disks
metadevice d90 is split up into soft partitions d91 -> d96
You can see what d91 -> d96 is mounted as in the df -k output
If you want to know what disks make up ld0 (d90) you will need to use sccli and run the command show disks. The output below has been edited, I didn't want to list all 75 disks.
A long example, but hopefully covers what you might have on your end.
Just for completeness of this example, this is how the root disk is partitioned..
Hi ,
We i try to mount aix filesystem i am getting the following error
mount: 0506-324 Cannot mount /dev/fslv11 on /testdir: A system call received a parameter that is not valid.
Please help me out (2 Replies)
Hello,
We just got a rx4640 that is running on:
HP-UX B.11.31 U ia64 2426088954 unlimited-user license
There is a plenty of space in it and we would like to use it for storage. I can access with ftp and place the files in there but i need to mount the file system in every PC that is running... (7 Replies)
Does anyone know if it's possible to specify the mount order of local and remote file systems? I'd like to mount a local ZFS file system on top of an NFS mount automatically and have that repeated on every reboot.
I've checked man pages and Google, but can't find anything that addresses,... (6 Replies)
Hi all
I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge.
The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data.
Any help will be appreciated
FR (2 Replies)
I have installed Solaris 11 Express on my machine and now I am wondering what is the best way to backup (to another hard disc) and restore the system hard disc content.
The backup should to be done every night using a script launched by cron and all previously done backups should be available to... (8 Replies)
There is a file system in server1 which is mounted on different file system on server2.
Filesystem kbytes used avail capacity Mounted on
server1:/users/user1
7047581 5994192 982914 86% /u01
/data/datafiles/user1
The data in... (1 Reply)
Hello,
I'm having troubles with sharing a filesystem across 2 machines...
Machine A, running Solaris 10, is sharian via NFS the filesystem /sp.
Machine B, running Solaris 10, is mounting /sp shared by A in /tm/sp and shares via NFS the /tm folder.
Machine C, running HP-UX, is mounting... (4 Replies)
Hi friends,
In my case, there are serveral PCs running Linux in a LAN.
I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory.
I do not know how to do this. The situation is complicated by... (2 Replies)
say i have a hard disc and like to install unix. I made two partition. plese explain what happens then
how devices are created like /dev/hd2
/dev/hd9
etc
how /usr/mqm is created. does the directory /usr exist? where ?
aslo how we create partition in physical directorY?
and link... (0 Replies)