The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Free space of HDD ? shipon_97 Red Hat 7 06-16-2009 11:45 AM
vxfs free space? itik SUN Solaris 1 01-07-2009 04:18 PM
HDD free space check pppswing Shell Programming and Scripting 1 09-25-2008 12:45 PM
Perl script to check free disk space susja Shell Programming and Scripting 1 06-28-2008 03:24 AM
Device Free Space jorge.ferreira UNIX for Dummies Questions & Answers 1 12-12-2003 11:17 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-04-2009
fugitive fugitive is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 171
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 (permalink)  
Old 07-04-2009
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,024
If lun is already created and mounted you cna use df -h or df -k to see the available space
  #3 (permalink)  
Old 07-05-2009
gnom gnom is offline
Registered User
  
 

Join Date: Feb 2008
Location: New Zealand
Posts: 66
metarecover -v -n metadevice -p
  #4 (permalink)  
Old 07-06-2009
fugitive fugitive is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 171
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 (permalink)  
Old 07-12-2009
gnom gnom is offline
Registered User
  
 

Join Date: Feb 2008
Location: New Zealand
Posts: 66
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.
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:03 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0