?
Solved

Urgent How to format new LUN in Solaris and how to mount filesystem from global to local zone in Solaris10

Posted on 2010-08-17
4
Medium Priority
?
1,111 Views
Last Modified: 2013-12-28
Hi All,

Could somebody provide me the steps how to format new LUN in Solaris host, our SAN admin has created LUN and it is visible under format output on top, I would like to know how to format it make newfs and mount it to /export/zones/ldm-ld-z01 from global zone.

Your help is highly appreciated.

Thanks

Khan
0
Comment
Question by:ikhan_1971
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 9

Expert Comment

by:jeremycrussell
ID: 33466247
Use format to create your partitions, and then "newfs" to put a UFS filesystem on them.

i.e.  newfs /dev/rdsk/c1t0d0s0

Then mount as normal on your system.

in zonecfg, use add fs to create a special-dir in zone.

However, I would recomend using zfs for all of this.

Simply create a spool with your lun

"zpool create newpool <lundevice>"
zfs create newpool/newfs

Then you can use a dataset in the non-global zone to add it and make it exclusive to the zone.

zonecfg -z zonename
add dataset
set name=newpool/newfs
end

If you don't want to make the new fs exclusive to the zone, but want to use ZFS, then you can just use the "add fs" in the same manner.

This is all assuming your OS is up to date enough to support these options.
0
 
LVL 38

Accepted Solution

by:
yuzh earned 2000 total points
ID: 33471391
Just add a bit more infor for jeremycrussell's comment, to use ZFS you OS version should be at least Solaris 10 6/06 or newer.
0
 

Author Closing Comment

by:ikhan_1971
ID: 33917383
tg
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month10 days, 21 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question