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
extract file extension using sed r_praveenk Shell Programming and Scripting 7 09-09-2008 12:45 PM
How to get file extension shirleyeow Shell Programming and Scripting 17 01-17-2008 08:40 AM
remove file extension prvnrk Shell Programming and Scripting 12 08-05-2007 06:46 AM
Stripping out the extension of a file name ramky79 Shell Programming and Scripting 2 12-27-2006 02:25 PM
Check file extension mahalakshmi Shell Programming and Scripting 6 12-27-2006 01:15 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-30-2007
xramm xramm is offline
Registered User
  
 

Join Date: May 2007
Posts: 113
Exclamation File System extension

Hi

I have a file system like this:
# mkfs -m /dev/md/dsk/d26
mkfs -F ufs -o nsect=424,ntrack=24,bsize=8192,fragsize=1024,cgsize=8,free=10,rps=167,nbpi=2050,opt=t,apc=0,gap=0,nr pos=8,maxcontig=16 /dev/md/dsk/d26 622592

and if you check it with df -k command | grep <mount point>

# df -k | awk '/Filesys/||/gdd/'
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d26 292143 64305 198624 25% /cbmdata/00/gdd

it is very low in size, I need to extend to bigger size due to some reasons and my HDD is big enough to meet it.

is there any advise to me ?
  #2 (permalink)  
Old 08-30-2007
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
Quote:
my HDD is big enough
do you have a free slice on that disk?

if so, you could make a new meta-device and attach it to the existing "d26"...

# metainit d<nr> 1 1 <free slice>
# metattach d26 d<nr>
# growfs -M /cbmdata/00/gdd /dev/md/rdsk/d<nr>

gP
  #3 (permalink)  
Old 08-31-2007
xramm xramm is offline
Registered User
  
 

Join Date: May 2007
Posts: 113
Question

Quote:
Originally Posted by pressy View Post
do you have a free slice on that disk?

if so, you could make a new meta-device and attach it to the existing "d26"...

# metainit d<nr> 1 1 <free slice>
# metattach d26 d<nr>
# growfs -M /cbmdata/00/gdd /dev/md/rdsk/d<nr>

gP
There was a command to look at free slice for devices, do you remember how was it ? Because I am not sure if I have free space ..
Thanks.
  #4 (permalink)  
Old 09-01-2007
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
you could look into your "format" output, or you could use "prtvtoc"

regards pressy
  #5 (permalink)  
Old 09-20-2007
xramm xramm is offline
Registered User
  
 

Join Date: May 2007
Posts: 113
Question meta-device

Code:
if so, you could make a new meta-device and attach it to the existing "d26"...

# metainit d<nr> 1 1 <free slice>
# metattach d26 d<nr>
# growfs -M /cbmdata/00/gdd /dev/md/rdsk/d<nr>
Could you please tell me , how I can make a new meta-device ?? or let me know if any document about them with details?

Thanks in advance.
Closed Thread

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 02:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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