Hi gurus
Im a newbie in solaris..I need to extend file system space in solaris 10 which is using SVM..I have a file system /pin02 which is 93% full n needs to be extended..only 3.6 gb avail space left..the file system is not mirrored...normal ufs file system only..can u please tel me t steps for doin it...its urgent... thanks in advance..
ya v have extra disks..can u tel me whether t procedure which im gona tel now is t rite one????here i start..first attach a disk and then use growfs command to attach it to the file syatem that has to be expanded...like growfs -M <mt pt tat is /pin02> attached disk name..is this rite???
As I don't know the layout of your file systems/metadevices, the following may seem a bit theoretical.
Extending a file system with SVM is done in two steps:
first you extend the metadevice in which the filesystem resides, and
secondly you extend the file system itself.
If your file system resides in a "hard" partition (e.g. metadevice d50), you should add a disk to the existing disk or diskgroup (d50) with the metattach command:
cxtydzs2 being the new disk to add.
Now extend the file system with the growfs command.
It is important to use the "raw" device in this command (hence rdsk).
If, however, the file system is created in a "soft" partition (e.g.d100) that is located in a diskgroup (e.g. d50), you can assign unused space (e.g. 2 GB) from the diskgroup to the metadevice d100 with the same metattach command albeit with different syntax:
Afterwards you can expand the filesystem with the growfs command as shown earlier on.
How do you check if there is any unused space in the diskgroup d50? By using the metarecover command:
This command generates quite some output ; the lines with the word FREE contain (expressed in blocks) the free space available in the metadevice. Just add them all together and you have the total free space left in your diskgroup d50.
Hi,
Pre data: a server running AIX 6.1 TL9 with 2GB memory and a small amount of CPU, running a very light workload.
I have a server which crashed on lack of memory. After the crash I found - using nmon analyser - that there was something eating up memory. Nmon referred to it as "system".
... (1 Reply)
Hi,
I currently have a Solaris 10 server with the / root file system using SVM. Here is the information of the current setup.
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 3.0G 635M 2.3G 22% /
bash-3.2# metastat d0
d0: Mirror
... (3 Replies)
Hi All,
I want to check if one my log file is updating properly, how can I achieve it.
The approach I am trying is to get the file size at two different interval and than comparing it eg :
$ ls -ltr | tail -1 | awk '{print $5}'
20480 (7 Replies)
We have a log file which has 16 million row. We want to read all the lines appended from the last time we read using sed command
sed -n '<START_LINE>,<LAST_LINE>p' abc.csv
I can store this last line line so I can give replace that with START_LINE in my next read. The problem is wc -l which... (2 Replies)
Hi All
I want to extend this file system to 120Gb:
df -h /xyz
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d80 98G 35G 62G 37% /xyzand the NetApp admin is going to give me an LUN with 22Gb.
This file system is mounted on:
metastat d80... (1 Reply)
I need to find the file that is growing in the mount. Say yesterday the utilised space was 95% but today that is 96%. How do i find the file that is growing in size. Have checked the same with du/df options but was not able to find much.
Please suggest the best possible option. (3 Replies)
my /etc/.osm file is growing rapidly and logging large amounts of activity. Can anyone tell me what this file is for and what types of information is logged in this file.
Thanks in advance for your help!! (1 Reply)
We have a third party tool in UNIX to kick off a 'file copy' job based on a file existance. If a specific file exists in an UNIX directory, another process should start copy the file into another system for further processing. The issue is, the copy job is starting as soon as the file exists in... (6 Replies)