Check free space in SVM


 
Thread Tools Search this Thread
Operating Systems Solaris Check free space in SVM
# 1  
Old 07-04-2009
Check free space in SVM

how can we check the free space in SVM for a LUN .. I 've a 300G LUN and created several soft partitions on it but now i want to know how much i can grow .. i.e how much space is left on this 300G LUN
# 2  
Old 07-04-2009
If lun is already created and mounted you cna use df -h or df -k to see the available space
# 3  
Old 07-05-2009
metarecover -v -n metadevice -p
# 4  
Old 07-06-2009
GNOM,

I got this error when i ran the said command

# metastat d109
d109: Soft Partition
Device: /dev/dsk/c1t5006016141E0A08Dd1s0
State: Okay
Size: 136314880 blocks (65 GB)
Device Start Block Dbase Reloc
/dev/dsk/c1t5006016141E0A08Dd1s0 0 No Yes

Extent Start Block Block count
0 197132299 136314880

Device Relocation Information:
Device Reloc Device ID
/dev/dsk/c1t5006016141E0A08Dd1 Yes id1,ssd@n6006016061201f000ea0e6469659dd11
root@xxxxxx # metarecover -v -n d109 -p
Verifying on-disk structures on d109.
found incorrect magic number 0, expected 20000127.
No extent headers found on d109.
d109: On-disk structures invalid or no soft partitions found.
metarecover: essapl020-u008: d0: bad magic number in extent header
# 5  
Old 07-12-2009
You have to enter the metadevice # not a softpartition (as root)

sudo metarecover -v -n d208 -p
Verifying on-disk structures on d208.
found incorrect magic number 207d100, expected 20000127.
No extent headers found on d208.
d208: On-disk structures invalid or no soft partitions found.
metarecover: max: d0: bad magic number in extent header

[ss0747@xxx] ~/scripts$ sudo metarecover -v -n d200 -p
Verifying on-disk structures on d200.
The following extent headers were found on d200.
Name Seq# Type Offset Length
d201 0 ALLOC 0 4194305
d202 0 ALLOC 4194305 4194305
d203 0 ALLOC 8388610 7233537
d204 0 ALLOC 15622147 4194305
d205 0 ALLOC 19816452 4194305
d206 0 ALLOC 24010757 4194305
d208 0 ALLOC 32399367 18874369

NONE 0 END 98933151 1
NONE 0 FREE 95313934 3619217
Found 11 soft partition(s) on d200.
Checking sequence numbers.
d200: Validating soft partition metadb entries.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Check free disk space in server

Hi, I need about 500G space in one corporate solaris server. However, I am not sure which command to use to check this. There are few volume groups in the server, and I deleted unused, old volume groups to clear some space. However, now I am not sure how to check the free space itself. ... (2 Replies)
Discussion started by: anaigini45
2 Replies

2. Solaris

Reclaiming space SVM

Hi I have a solaris 10 server, that we no longer will be used, and the system has it storage on the NetApp. Most of the file systems that I have already umounthave the following entry on /etc/vfstab: df -h /ora* Filesystem size used avail capacity Mounted on /dev/md/dsk/d400... (2 Replies)
Discussion started by: fretagi
2 Replies

3. Fedora

Need to incrwase PHYSICAL VOLUME space on hard drive with free space on it

Hi, I run Fedora 17. I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Discussion started by: mojoman
1 Replies

4. Solaris

No space left on device but free space and inodes are available...

hi guys, me again ;) i recently opened a thread about physical to zone migration. My zone is mounted over a "bigger" LUN (500GB) and step is now to move the old files, from the physical server, to my zone. We are talking about 22mio of files. i used rsync to do that and every time at... (8 Replies)
Discussion started by: beta17
8 Replies

5. Solaris

How to check free space for a metadevice in a diskset

Anyone know then command to check the unallocated disk space for a metadevice in a disk set? like: /dev/md/data/dsk/d830 Something similar to veritas command below is what I'm looking for: vxassist maxgrow <volume> ---------- Post updated at 12:34 PM ---------- Previous update was at... (1 Reply)
Discussion started by: Mr_Webster
1 Replies

6. Solaris

Check free space in Solaris Volume Manager

I 've 300Gb Lun assigned to my system which has soft partitions , is there any way to check how much the space i have used out of 300Gb ? and how may more soft partitions i can create and expand the existing ones ? (3 Replies)
Discussion started by: fugitive
3 Replies

7. Solaris

Disk space missing under SVM

Hi Gurus, I've got an issue here: (1) Hardware: Sun NetraT1, (2) OS: Solaris 10, (3) SVM metastat shows /var having 12 GB. df shows /var having 4 GB. Real space for /var is about 4 GB since I can't move a big file to it. How is 8 GB space missing? Does /var/run swap need to account? Can I... (5 Replies)
Discussion started by: aixlover
5 Replies

8. Solaris

mirroring root disk using svm - but no free slices for metadb's

Hi all, we have an existing system that was configured using just one of the (two) internal disks. I want to mirror the disk using SVM, but have realised there is no free slice for creating the metadb's. Is there a workaround I can use for this? In the past we have always kept slice 7 free -... (8 Replies)
Discussion started by: badoshi
8 Replies

9. Shell Programming and Scripting

HDD free space check

Hi, I need to add a condition in a script. The script is executed only if there is free 8 Gigas space. I know if then fi I don't know how to write the condition on free space Thanks :) (1 Reply)
Discussion started by: pppswing
1 Replies

10. Shell Programming and Scripting

Perl script to check free disk space

hello, I have to check the free space on the disk that would work both on Windows and Unix platform e.g on C: \ for Windows and / on Unix. I could use Unix command 'df ' ( my windows system has Unix emulator cygwin and could run 'df ' as well). But I'd like not to rely on system command but... (1 Reply)
Discussion started by: susja
1 Replies
Login or Register to Ask a Question