File System extension


 
Thread Tools Search this Thread
Operating Systems Solaris File System extension
# 1  
Old 08-30-2007
Error 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  
Old 08-30-2007
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  
Old 08-31-2007
Question

Quote:
Originally Posted by pressy
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  
Old 09-01-2007
you could look into your "format" output, or you could use "prtvtoc"

regards pressy
# 5  
Old 09-20-2007
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Change file extension

Hi Guys, i am trying to redirect a file wherein i need to change the extension of the file from .sh to .tmp, but getting an error a=test.txt sh test.txt > path/$(basename "$a" .sh).tmp i need test.tmp ---------- Post updated at 02:09 AM ---------- Previous update was at... (3 Replies)
Discussion started by: rohit_shinez
3 Replies

2. Shell Programming and Scripting

Rename specific file extension in directory with match to another file in bash

I have a specific set (all ending with .bam) of downloaded files in a directory /home/cmccabe/Desktop/NGS/API/2-15-2016. What I am trying to do is use a match to $2 in name to rename the downloaded files. To make things a more involved the date of the folder is unique and in the header of name... (1 Reply)
Discussion started by: cmccabe
1 Replies

3. UNIX for Dummies Questions & Answers

File Extension Missing in file-$var.csv

I'm afraid this is a silly question but I can't figure it out. I have a script like so... echo "Enter DRDL Signature Version Number" read DRDL_Number mv signature_output.csv SERVICE_OBJECTS_S-$DRDL_Number.csv The resultant filename does not contain the .csv as follows.... (3 Replies)
Discussion started by: Cludgie
3 Replies

4. UNIX for Dummies Questions & Answers

Display the .csv extension files based on .done extension fine

Hi All, I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing. 1.I need to display the .done files from the directory. 2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory ... (2 Replies)
Discussion started by: girija.g6
2 Replies

5. Shell Programming and Scripting

How to rename the extension of a file?

Hello, I have multiple files named rscclog_2013-03-25.txt;3 in a directory, where 2013-03-25 is the previous day's date and the number after extension .txt preceded by a ';' is any number which i do not know beforehand. Now, i have to rename all such files as rscclog_2013-03-25.txt thus,... (2 Replies)
Discussion started by: rahulkt1987
2 Replies

6. Shell Programming and Scripting

Getting the file extension

I have a file n06-z30-sr65-rgdt0p25-varp0.25-8x6drw-test.cmod and I want to get the extension. At the moment I have set filextension = `echo $f | awk 'BEGIN {FS="."} {print $2}'` which of course does not work as there is a point in varp0.25 (13 Replies)
Discussion started by: kristinu
13 Replies

7. UNIX for Dummies Questions & Answers

creating separate directories according to file extension and keeping file in different directory as

unix program to which a directory name will be passed as parameter. This directory will contain files with various extensions. This script will create directories with the names of the extention of the files and then put the files in the corresponding folder. All files which do not have any... (2 Replies)
Discussion started by: Deekay.p
2 Replies

8. UNIX for Dummies Questions & Answers

About the file extension

Hi everyone, Can we know that which type of file is there without opening a file thanks in advance.... kunal patil (3 Replies)
Discussion started by: kunalpatil09
3 Replies

9. Shell Programming and Scripting

Until the file extension matches

Hi All, In my script I am trying to input data from user and I want the promt to appear again if the input data is not the one expected. I tried something like this: echo " \n\n\t Enter the dump filename:\c";read dump pst=${dump##*.} until (test $pst = dmp) do ... (7 Replies)
Discussion started by: Sreejith_VK
7 Replies

10. UNIX for Dummies Questions & Answers

how to mount a file system of a remote machine to local file system

Hi friends, In my case, there are serveral PCs running Linux in a LAN. I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory. I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies
Login or Register to Ask a Question