Sponsored Content
Operating Systems Solaris Need advice on soft partition Post 302401049 by gowthamakanthan on Thursday 4th of March 2010 09:41:52 PM
Old 03-04-2010
Question Need advice on soft partition

Hello All,

Am trying to expand the soft partition which is in mirror. Am getting following error. Whether is it possible? or i am doing wrongly. Please assist.

Code:
bash-2.05# metastat d100
d100: Mirror
    Submirror 0: d102
      State: Okay
    Submirror 1: d105
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 204624 blocks (99 MB)

d102: Submirror of d100
    State: Okay
    Size: 204624 blocks (99 MB)
    Stripe 0:
        Device   Start Block  Dbase        State Reloc Hot Spare
        d101            0     No            Okay   No

d101: Soft Partition
    Device: c0d1s5
    State: Okay
    Size: 204800 blocks (100 MB)
        Device   Start Block  Dbase Reloc
        c0d1s5          0     No    Yes

        Extent              Start Block              Block count
             0                        1                   204800


d105: Submirror of d100
    State: Okay
    Size: 525168 blocks (256 MB)
    Stripe 0:
        Device   Start Block  Dbase        State Reloc Hot Spare
        c0d1s4          0     No            Okay   Yes


Device Relocation Information:
Device   Reloc  Device ID
c0d1   Yes      id1,cmdk@AVMware_Virtual_IDE_Hard_Drive=01000000000000000001
bash-2.05#  metattach d101 100m
metattach: chennai: d101: invalid unit

bash-2.05#

bash-2.05#  metattach d100 100m
metattach: chennai: 100m: No such file or directory
bash-2.05# metattach d101 100m
metattach: chennai: d101: invalid unit

bash-2.05#

bash-2.05# df -kh /soft
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d100        94M   1.0M    83M     2%    /soft
bash-2.05#

Thanks
Gowtham

Last edited by Scott; 03-05-2010 at 12:08 AM.. Reason: Please use code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

understanding logical partition, physical partition

hi, 1) is logical partition the same as physical partition except that one is physical and the other is logical? 2) then it must a one to one ratio? (3 Replies)
Discussion started by: yls177
3 Replies

2. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

3. Solaris

Replacing a hard disk (SVM) with a soft partition?

The following is the summarry:- 1) Four disks in server ie (c1t0d0. c1t1d0, c1t2d0, c1t3d0). c1t2d0 is the disk to be replaced. c1t0d0 and c1t2d0 are mirrors. c1t1d0 and c1t3d0 are mirrors. Metadb to be deleted is in c1t2d0s7 a) Mirror d35 has 2 submirrors d38 and d39 d38 is a stripe... (0 Replies)
Discussion started by: aji1729
0 Replies

4. Shell Programming and Scripting

rsync from partition to partition fastest

Gentleman, Please move if I have chose the incorrect forum section. I am trying to move data that is not backed up from partition 1 to partition 2 on a SAN that has a GFS2 filesystem. Since the data is not backed up I am rsyncing this data and once verified I will delete from the source... (6 Replies)
Discussion started by: jaysunn
6 Replies

5. Solaris

Rename soft partition

Hi folks, is there any possibility how to rename soft partitions?? Here I found that this is not possible (I know that it is) but I need do it in some supported way. http://dlc.sun.com/osol/docs/content/LOGVOLMGRADMIN/tasks-basics-5.html This is production system it is why I need do it... (0 Replies)
Discussion started by: brusell
0 Replies

6. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

7. UNIX for Dummies Questions & Answers

Partition advice

Hi, I have a number of RHEL servers, they are all identical in build and all are encountering disk space issues very frequently. I am hoping you can help me answer a few questions: 1. The servers have 40GB (:O) SWAP Space, I am hoping to reduce this to 10GB at most and then re-use the other... (3 Replies)
Discussion started by: mcclunyboy
3 Replies

8. Filesystems, Disks and Memory

Ask concept soft partition vs hard partition

Hi Experts I would like to know different between soft partition concept and hard partition concept on solaris. Here is little explanation between soft partition concept and hard partition concept on solaris. Soft Partition: 1TB total space available in storage in all mapped to the OS to... (2 Replies)
Discussion started by: edydsuranta
2 Replies

9. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

10. Solaris

Extend a soft partition

Hi, I need to extend a soft partition from 20G to 100G. New disk is already added as a meta device. This soft partition is already assigned to a guest LDOM. Can someone let me know the steps to increase soft partition so guest LDOM can recognize the new space. Thanks (1 Reply)
Discussion started by: Gho
1 Replies
metarecover(1M) 					  System Administration Commands					   metarecover(1M)

NAME
metarecover - recover soft partition information SYNOPSIS
/sbin/metarecover [-n] [-v] [-s setname] component -p /sbin/metarecover [-n] [-v] [-s setname] component -p {-d} /sbin/metarecover [-n] [-v] [-s setname] component -p {-m} DESCRIPTION
The metarecover command scans a specified component to look for soft partition configuration information and to regenerate the configura- tion. OPTIONS
The following options are supported: -d Recover soft partitions in the metadevice state database from the extent headers on the device. Options -d and -m are mutu- ally exclusive. -m Regenerate the extent headers and reapplies them to the underlying device based on the soft partitions listed in the metadevice state database. Options -d and -m are mutually exclusive. -n Do not actually perform the operation. Show the output or errors that would have resulted from the operation, had it been run. -p Regenerate soft partitions based on the metadevice state database or extent headers on the underlying device. If neither -d nor -m are specified, this option compares the soft partition information in the metadevice state database to the extent headers. -s setname Specify the name of the diskset on which metarecover works. Using the s option causes the command to perform its function within the specified diskset. Without the -s option, the metarecover command operates on the metadevices and/or hot spare pools in the local diskset. This option is required to recover former sps from a diskset component or raw-device. setname must be identical to the former setname in which the sps were created. The set numbers, however, seem irrelevant. -v Verbose mode, displaying the changes being made. OPERANDS
The following operand is supported: component Specifies the c*t*d*s* number of the disk or slice containing the partitions, or the device name (for example, d10) of the metadevice containing the partitions. component can be a slice name, component name, /dev/dsk path, or /dev/rdsk path. EXAMPLES
Example 1: Updating Metadevice State Database Based on Disk Extent Headers A disk containing soft partitions is moved from one system to another. The system administrator would like to use the existing soft parti- tions. metarecover updates the metadevice state database based on the extent headers on the disk. # metarecover -v c0t3d0s2 -p -d Example 2: Updating Metadevice State Database Based on Incomplete Soft Partition Creation A system crashes in the middle of creating a new soft partition. The soft partition is in the creating state and the driver does not let that device be opened. metarecover rewrites the extent headers for the partially created soft partition and mark it as Okay. # metarecover -v c0t3d0s2 -p -m Example 3: Updating Extent Headers Based on Metadevice State Database Someone accidentally overwrote a portion of a disk leaving extent headers destroyed. metarecover rewrites the extent headers to ensure a valid soft partition configuration, though user data is not recovered. # metarecover -v d5 -m Example 4: Validating Soft Partition Configuration To validate the existing soft partition configuration, use metarecover with only the -p flag. # metarecover c0t3d0s2 -p EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmdr | +-----------------------------+-----------------------------+ SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M), metaparam(1M), metarename(1M), metareplace(1M), metaroot(1M), metaset(1M), metassist(1M), metastat(1M), metasync(1M), metattach(1M), md.tab(4), md.cf(4), mddb.cf(4), md.tab(4), attributes(5), md(7D) Solaris Volume Manager Administration Guide SunOS 5.10 2 Jun 2004 metarecover(1M)
All times are GMT -4. The time now is 12:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy