[Last Call] Learn how to a build a cloud-first strategyRegister Now


Hello All, need help in Creating partition - solaris

Posted on 2006-05-11
Medium Priority
Last Modified: 2013-12-27

I need to create a file system which is of 115GB.

In detail, we have production server, which have 3 internel disks - each is of 9GB. We have externel stoarage device also, which is Hitachi 9960. space have been already assigned to this server and partitions have been created on it. each partition is of 35GB and I have 11 partitons like that.

my question is : how can I create a file system which is of 115GB, how to add those 33GB partitons and assigned it to one file system.

we dont have any Volume manager.

your input will be higly appreciated.

Question by:z670193
LVL 14

Expert Comment

ID: 16662238
>we dont have any Volume manager.

You cannot.

That is the short answer.

But I assume that you are using a newer version of solaris (2.5) or above.  If so, you have a volume manager built in as part of the operating system.

The actual steps are a little different depending on the version, so if you post the output of "uname -a" I can give you specific help.

Also, I am not familar with the 9960, please let me know if it is just raw disks or if it is a raid 5 device.


Author Comment

ID: 16667398
Hi Arthurjb,

output of " uname -a"

" uname -a "
" SunOS FISTEST 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-Enterprise ",

yes, its  RAID 5 Open9 Hitachi Data Systems.

will be waiting for ur reply.


LVL 14

Expert Comment

ID: 16667803
I don't remember if solaris 8 has metatool and I don't have a box here to check.

do a "man metatool" and see if there is a page if so than that is the easiest tool to use.

Hopefully you are on the machine's console and it is a graphics console and not just a terminal.

If so start metatool (if it exists) and it should show you all the disks and controllers attached to your machine.

Let me know what you find.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 16669453
Disksuite is available for Solaris8 but it is not loaded by default. It is on a separate CD or can be downloaded.

Accepted Solution

XoF earned 1500 total points
ID: 16673052
two possible approaches:
1) Install disksuite and do the following:
- In this example I assume that your SAN-Partitions have device names c6t0d0 to c6t0d10 - replace that with your values
- format all of your 33GB SAN-Partitions so that you have one small slice 7 (~128MB) and one big slice 0 (the rest)
- create metadbs:
# metadb -a -c 3 -f c6t0d0s7
# metadb -a -c 3 c6t0d1s7 c6t0d2s7 ... c6t0d10s7

- assuming you want to use the whole assigned SAN capacity for different purposes, I'd recommend to use softpartitions:
- Create a concatenation of all SAN partitions:
# metainit d100 11 1 c6t0d0s0 1 c6t0d1s0 1 c6t0d2s0 1 c6t0d3s0 1 c6t0d4s0 1 c6t0d5s0 1 c6t0d6s0 1 c6t0d7s0 1 c6t0d8s0 1 c6t0d9s0 1 c6t0d10s0
# metainit d101 -p d100 115GB
# newfs /dev/md/rdsk/d101

Now you can mount /dev/md/dsk/d101 wherever you want

If you need additional filesystems, just create one or more softpartitions:
# metainit d102 -p d100 xxxG

2) Reconfigure your HDS box and assign a bigger partition to your solaris box.

LVL 27

Expert Comment

ID: 16679228
XoF is correct.
z610193, you SHOULD use either some Volume Manager or reconfigure HDS storage, there is no other way.

About HDS reconfiguration, you have the only option - create a device with LUSE emulation.
You cannot change 35GB size of each Logical Unit, but you can concatenate a number of them into one LUSE device.

The HDS Lightning subsystem can only have certain sized LUs defined. These LUs can be expanded by merging 2 - 36 of these LUs together using the Logical Unit Size Expansion (LUSE) feature.

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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 Month18 days, 2 hours left to enroll

831 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