SUMMARY: Soft Partition on Raid 1 volume on Solaris 10 on Intel

From: Markus Mayer <mymaillists_at_gmx.at>
Date: Fri May 20 2005 - 09:06:36 EDT
Thanks for the fast answers! - and I sit here and hang my head in shame as I 
used mkfs and not newfs...  Too much Linux I guess...

Thanks to Gary P. and Simon B.

Gary's answer:
You're *far* better off using newfs here; ie:

# newfs /dev/md/rdsk/d100

Simon's answer:
I always use the full device file newfs -v /dev/md/dsk/d100

regards
Markus

On Friday 20 May 2005 14:46, Markus Mayer wrote:
> Hi Managers,
>
> First off - thanks for the great list!  I've often been able to solve
> problems by looking through the archives.
>
> I'm having problems getting to a soft partition I created on a raid 1 disk.
> After I've created the soft partition, I can't mount it or do an mkfs on
> it. I've been following the information in the Solaris Volume Manager
> Administration Guide January 2005 however there is no information on how I
> can actually start using a soft partition after I've set it up.  I would
> greatly appreciate a few pointers on what I should do after the steps below
> that I've done.
>
> regards
> Markus
>
>
> bash-3.00# metainit d100 -p d50 1g
> d100: Soft Partition is setup
> bash-3.00# metastat d100
> d100: Soft Partition
>     Device: d50
>     State: Okay
>     Size: 2097152 blocks (1.0 GB)
>         Extent              Start Block              Block count
>              0                       32                  2097152
>
> d50: Mirror
>     Submirror 0: d51
>       State: Okay
>     Submirror 1: d52
>       State: Okay
>     Pass: 1
>     Read option: roundrobin (default)
>     Write option: parallel (default)
>     Size: 10241280 blocks (4.9 GB)
>
> d51: Submirror of d50
>     State: Okay
>     Size: 10241280 blocks (4.9 GB)
>     Stripe 0:
>         Device   Start Block  Dbase        State Reloc Hot Spare
>         c1d0s5          0     No            Okay   Yes
>
>
> d52: Submirror of d50
>     State: Okay
>     Size: 10241280 blocks (4.9 GB)
>     Stripe 0:
>         Device   Start Block  Dbase        State Reloc Hot Spare
>         c1d1s5          0     No            Okay   Yes
>
>
> Device Relocation Information:
> Device   Reloc  Device ID
> c1d0   Yes      id1,cmdk@ASAMSUNG_SP0802N=0637J5FWA06325
> c1d1   Yes      id1,cmdk@ASAMSUNG_SP0802N=0637J5FWA06693
>
>
> bash-3.00# mkfs d100
> mkfs: Operation not applicable for FSType nfs
> bash-3.00# mkfs -F UFS d100
> mkfs: FSType UFS not installed in the kernel
> bash-3.00# mkfs -F ufs d100
> size not specified
> ufs usage: mkfs [-F FSType] [-V] [-m] [-o options] special size(sectors) \
> [nsect ntrack bsize fragsize cpg free rps nbpi opt apc gap nrpos maxcontig
> mtb]
>  -m : dump fs cmd line used to make this partition
>  -V :print this command line and return
>  -o :ufs options: :nsect=32,ntrack=16,bsize=8192,fragsize=1024
>  -o :ufs options: :cgsize=0,free=0,rps=60,nbpi=2048,opt=t
>  -o :ufs options: :apc=0,gap=0,nrpos=0,maxcontig=0
>  -o :ufs options: :mtb=n
> NOTE that all -o suboptions: must be separated only by commas so as to
> be parsed as a single argument
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri May 20 09:09:46 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:47 EST