Unsolved
This post is more than 5 years old
2 Posts
0
2885
MOUNT SOLARIS LUN USING PESUDO NAME
I am using 5.2 with solaris 9 but have problem when I am trying to format and mount the lun so I need to know what is the steps to format and label the lun with pesudo name not with standard name for solaris and please see the configuration below:
AVAILABLE DISK SELECTIONS:
0. c1t0d0
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000871a34f4,0
1. c1t1d0
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000871a3440,0
2. c1t2d0
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000871a04aa,0
3. c1t3d0
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000871a4adf,0
4. c1t4d0
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000871981fd,0
5. c1t5d0
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000871abdc0,0
6. c2t40d0
/pci@8,700000/SUNW,qlc@3/fp@0,0/ssd@w216000c0ff882578,0
7. c5t5006016844603BB2d0
/pci@9,600000/QLGC,qlc@2/fp@0,0/ssd@w5006016844603bb2,0
8. c5t5006016044603BB2d0
/pci@9,600000/QLGC,qlc@2/fp@0,0/ssd@w5006016044603bb2,0
9. emcpower0a
/pseudo/emcp@0
partition> p
Current partition table (original):
Total disk cylinders available: 43518 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 15 128.00MB (16/0/0) 262144
1 swap wu 16 - 31 128.00MB (16/0/0) 262144
2 backup wu 0 - 43517 339.98GB (43518/0/0) 712998912
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 32 - 43517 339.73GB (43486/0/0) 712474624
7 unassigned wm 0 0 (0/0/0) 0
1-how to mount using NO 9? in steps please.
2-what is the redundant plan for mounting?
3-why when installing powerpath the pesudo name was created?
Thanks.
Brion2
154 Posts
0
January 20th, 2011 08:00
Hello. Here is some information that should help.
If the question is how to mount new pseudo device, here is the answer step by step.
In this case emcpower0a is the pseudo device.
1) Label the disk
#format empower0a
Output of this command will be as follows
selecting emcpower0a
[disk formatted]
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
! - execute , then return
Quit
format> l
Ready to label disk, continue? y
format>
2) Type q for quitting from format menu.
3) Create filesystem on the new device using the following command
# newfs /dev/rdsk/emcpower0c
Give y to construct a new file system /dev/rdsk/emcpower0c: (y/n)?
4) Create a mount directory.
Example : mkdir /test
5) Mount the newly created FS with pseudo device.
# mount /dev/dsk/emcpower0c /test
6) FS mounted.
With regards to your last question, pseudo devices are created after installing PowerPath and configuring the device under PowerPath control. Pseudo names are the virtual representation underlying physical device names which is also known as the native name.
khelazab
2 Posts
0
January 22nd, 2011 06:00
Hi Brion:
tnank you for your response but when the solaris administrator trying to mount the disk the disk capacity was 128 MB not the full capacity I do not know why
I mean the usable capacity is one of the following red parts 0 or 1 not the full capacity part 6 :
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 15 128.00MB (16/0/0) 262144
1 swap wu 16 - 31 128.00MB (16/0/0) 262144
2 backup wu 0 - 43517 339.98GB (43518/0/0) 712998912
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 32 - 43517 339.73GB (43486/0/0) 712474624
7 unassigned wm 0 0 (0/0/0) 0
Nollaig1
1 Rookie
1 Rookie
•
137 Posts
0
January 24th, 2011 09:00
Hello,
Just wondering which slice did you newfs?
And what device is listed as in powermt display dev=all?
If you look at the devices in the output of a ls -Ralsi /dev, you can see each powerpath slice (emcpowera - emcpowerh 8 in total) correspond to slices 0 - 7 on the raw device.
Hope this helps,
Nollaig
chrisimes
24 Posts
0
January 26th, 2011 02:00
Actually, take a look at Brion's post; he steps through it for you. Just note the syntax of newfs. It is slice 2 that you would want to affect which as noted above is emcpower0c
newfs /dev/rdsk/emcpower0c
chrisimes
24 Posts
0
January 26th, 2011 02:00
You would want to format slice 2 which is the slice representing the total capacity. Therefore, as Nollaig had charted, slice 2 is mapped to the PowerPath pseudo device emcpower0c. If you were to recall the command that was run, you would likely find that you had performed the newfs on emcpower0a.