Adding 2 hard drives under one file system.

  • Follow


Hello!

I'm trying to put 2 HD's together under only one file system in Solaris 9.

I have a disk pack with 6 drives as follows:

0. c0t0d0 -> boot drive ( solaris 9 installed here )
1. c1t1d0 -> /var/repository
2. c1t2d0
3. c1t3d0
4. c1t4d0
5. c1t5d0
6. c1t6d0

So far, I've been able to create a file system on c1t1d0 by just doing:

# newfs /dev/dsk/c1t1d0s6
# mount /dev/dsk/c1t1d0s6 /var/repository/
 and adding the corresponding line to the vfstab

What I need is to join c1t2d0 and c1t3d0 as /var/repository2 (double the
space capacity)

Can anyone help me acomplish this?

Thank you.

David W. 


0
Reply David 7/26/2007 3:25:48 PM

David Waizer wrote:

> I'm trying to put 2 HD's together under only one file system in Solaris 9.

> Can anyone help me acomplish this?


http://docs.sun.com/app/docs/doc/806-6111
0
Reply Oscar 7/26/2007 3:35:26 PM


On Jul 26, 10:25 am, "David Waizer" <dwai...@nospam.com> wrote:
> Hello!
>
> I'm trying to put 2 HD's together under only one file system in Solaris 9.
>
> I have a disk pack with 6 drives as follows:
>
> 0. c0t0d0 -> boot drive ( solaris 9 installed here )
> 1. c1t1d0 -> /var/repository
> 2. c1t2d0
> 3. c1t3d0
> 4. c1t4d0
> 5. c1t5d0
> 6. c1t6d0
>
> So far, I've been able to create a file system on c1t1d0 by just doing:
>
> # newfs /dev/dsk/c1t1d0s6
> # mount /dev/dsk/c1t1d0s6 /var/repository/
>  and adding the corresponding line to the vfstab
>
> What I need is to join c1t2d0 and c1t3d0 as /var/repository2 (double the
> space capacity)
>
> Can anyone help me acomplish this?
>
> Thank you.
>
> David W.

Sounds like what you want is concatenation; have you looked into
Solaris Volume Manager?

http://docs.sun.com/app/docs/doc/816-4520?l=en

You have a lot of options there, and it comes with Solaris 9.  It
might be on the "Easy Access CD" as Disk Suite, but I could be
thinking of Solaris 8.  Its been a while.


0
Reply EyeHaveNoName 7/26/2007 7:53:46 PM


On Thu, 26 Jul 2007, David Waizer wrote:

> Hello!
>
> I'm trying to put 2 HD's together under only one file system in Solaris 9.
>
> I have a disk pack with 6 drives as follows:
>
> 0. c0t0d0 -> boot drive ( solaris 9 installed here )
> 1. c1t1d0 -> /var/repository
> 2. c1t2d0
> 3. c1t3d0
> 4. c1t4d0
> 5. c1t5d0
> 6. c1t6d0
>
> So far, I've been able to create a file system on c1t1d0 by just doing:
>
> # newfs /dev/dsk/c1t1d0s6
> # mount /dev/dsk/c1t1d0s6 /var/repository/
>  and adding the corresponding line to the vfstab
>
> What I need is to join c1t2d0 and c1t3d0 as /var/repository2 (double the
> space capacity)
>
> Can anyone help me acomplish this?
>
> Thank you.
>
> David W.

Solaris 9 has disksuite "build in" so to say, i.e. if you did a full
install its already in there...

man metainit, metadb, metastat

keyfiles in /etc/lvm

what you need to do that is a simple concatenation of two disks which you
then newfs and mount as a single filesystem

This does not take into account redundancy, data security or anything else
but since you choosen to run your OS with no redundancy I assmume thats
not a problem...

/Johan A

0
Reply Mr 7/27/2007 9:52:29 AM

3 Replies
167 Views

(page loaded in 0.063 seconds)

Similiar Articles:













7/29/2012 2:29:34 AM


Reply: