Need advice on soft partition


 
Thread Tools Search this Thread
Operating Systems Solaris Need advice on soft partition
# 1  
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
# 2  
Old 03-05-2010
An example for you:-
Code:
Creating a soft partition

# metainit d20 -p c4t0d0s0 100m

Growing a soft partition

# metattach d20 100m

Removing a soft partition

# metaclear d20

Removing all soft partitions in c4t0d0s0

# metaclear -p c4t0d0s0

# 3  
Old 03-06-2010
Mate here my question is "Is it possible to grow a soft partition if its under mirroring ?"
# 4  
Old 03-06-2010
Quote:
Originally Posted by gowthamakanthan
Mate here my question is "Is it possible to grow a soft partition if its under mirroring ?"
Yes you can. but your above output is wrong
# 5  
Old 03-06-2010
Ohh is it ? Can you guide me how to make it out that ?
# 6  
Old 03-06-2010
Quote:
Originally Posted by gowthamakanthan
Ohh is it ? Can you guide me how to make it out that ?
tell me first how you initialized the soft partition
# 7  
Old 03-06-2010
The size of the c0d1s5 and c0d1s4 is 250 M , I have created 100m soft partition(d101) in c0d1s5 and made it as a submirror(d102) of mirror(d100), then i attached the c0d1s4(d105){200m} as a submirror. Now i want to expand the soft partition to 100m. Is it workable ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question