Sponsored Content
Full Discussion: How to grow my files System?
Operating Systems Solaris How to grow my files System? Post 302539822 by andresguillen on Tuesday 19th of July 2011 01:23:48 AM
Old 07-19-2011
MySQL How to grow my files System?

Dear Gurus of Unix.
When I Put this command:
Code:
#  iostat -E
cmdk0     Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Model: SAMSUNG SV4012H Revision:  Serial No: 0540J1BTC53208  Size: 40.06GB <40060403712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0
sd0       Soft Errors: 2 Hard Errors: 0 Transport Errors: 0
Vendor: HL-DT-ST Product: RW/DVD GCC-4520B Revision: 1.00 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 2 Predictive Failure Analysis: 0
sd1       Soft Errors: 2 Hard Errors: 0 Transport Errors: 0
Vendor: HL-DT-ST Product: CD-RW GCE-8525B  Revision: 1.02 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 2 Predictive Failure Analysis: 0
sd3       Soft Errors: 6 Hard Errors: 0 Transport Errors: 0
Vendor: hp       Product: v265w            Revision: 4096 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 6 Predictive Failure Analysis: 0
#

I observe that my Hard Disk has 40GB
but when I run this command
Code:
# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0d0s0        494M   410M    34M    93%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   204M   896K   204M     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/dev/dsk/c0d0s6        4.1G   2.4G   1.6G    60%    /usr
/usr/lib/libc/libc_hwcap1.so.1
                       4.1G   2.4G   1.6G    60%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
/dev/dsk/c0d0s3        140M    67M    59M    54%    /var
swap                   661M   458M   204M    70%    /tmp
swap                   204M    24K   204M     1%    /var/run
/dev/dsk/c0d0s5        826M   561M   207M    74%    /opt
/dev/dsk/c0d0s7        5.2G   127M   5.0G     3%    /export/home
/dev/dsk/c0d0s1        435M   285M   107M    73%    /usr/openwin
#

I observe that I only use 16 GB

The question is:
Why I have three files System with the same name swap?
Code:
# df -h | grep swap
swap                   153M   896K   152M     1%    /etc/svc/volatile
swap                   610M   458M   152M    76%    /tmp
swap                   152M    24K   152M     1%    /var/run

and how to use all 40 GB of my hard disk?

Regards
Andres

Last edited by pludi; 07-19-2011 at 05:30 AM..
 

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

Where to grow up?

Hi, all! I've been working for one year as a Unix systems engineer(Solaris) in a large company. Two days ago I found, that I didn't exactly know where should I grow up? I can't drop this idea away and I'm still thinking about it. I'm trying to imagine myself in a next year. Available... (1 Reply)
Discussion started by: movx
1 Replies

2. SuSE

grow /var size how

Hi all, I am using SLES 9 and have following partitions mounted I would like to make /var 10G atleast. fdisk -l This system is doing RAID5(HW). Can someone help me with this issue? Thanks (4 Replies)
Discussion started by: upengan78
4 Replies

3. Solaris

grow filesystem

Hi, how to grow a filesystem when the 2 disks are mirrored using hardware RAID? Only 100G out of 136G is used for now. I would like to increase one of the slices by adding the 36G of space. Pls assist. I only know of using growfs on mirrored disks using SVM.(soft mirror) (12 Replies)
Discussion started by: incredible
12 Replies

4. AIX

Cannot grow jfs file system on AIX 5.2

Hello all, I'm trying to grow a file system by 500MB using SMIT on AIX 5.2 but I receive this error: "0516-404 allocp: This system cannot fulfill the allocation request. There are not enough free partitions or not enough physical volumes to keep strictness and satisfy allocation requests.... (3 Replies)
Discussion started by: need2bageek
3 Replies

5. Solaris

resize / and grow swap

Hi, this is solaris 10 on sparc sf280r, 2 disks mirrored using SVM, swap is 4GB (slice 1) and rest all is given for / (slice0) in 36G disk. I have already mirrored disks using SVM, for clear picture, I'm pasting some part of config below, # Slice 0 metainit -f d110 1 1 c1t0d0s0... (2 Replies)
Discussion started by: upengan78
2 Replies

6. UNIX for Dummies Questions & Answers

Help to Grow the Size of volume

I have a 146Gb drive and want to grow the size from 12G to the max available left. I think 20G is being used so I want to max out from 12 G to 126G. Is this possible? Can you help with the command. root@WRPDWI6k-BU # df -h Filesystem size used avail... (3 Replies)
Discussion started by: udubya
3 Replies

7. Shell Programming and Scripting

how to delete files at booting of system (system startup)

hi all I have a problem how to write a shell script which delete files/folder form directory whenever system boot and copy last updated folder/file in the specified directory.pse help me ASAP. i write a script which copy files in directory.I want when system boot up using script it check whether... (1 Reply)
Discussion started by: shubhig15
1 Replies

8. AIX

Accessing files on AIX system from Linux system

I have a following requirement in production system 1 : LINUX User: abcd system 2: AIX (it is hosting a production DB) Requirement user abcd from system 1 should have read access on archive log files created by DB on system 2. The log files are created with permissions 540 by user ora ,... (2 Replies)
Discussion started by: amitnm1106
2 Replies

9. Solaris

No swap space to grow stack

Dear Solaris Experts, I had a Problem with swap consumption in our Production server. I found error message in /var/adm/message: Aug 1 10:55:40 production genunix: WARNING: Sorry, no swap space to grow stack for pid 29716 (oracle) What should I do for temporary solution? I need no... (4 Replies)
Discussion started by: edydsuranta
4 Replies

10. Solaris

How to grow a zfs file system?

Hi I have the following file system, that needs to be expanded to more 500Gb, so a total of 1Tb: df -h /oradata1 Filesystem Size Used Available Capacity Mounted on oradata1 587G 517G 69G 89% /oradata1 I am not familiar with zfs, I am more... (17 Replies)
Discussion started by: fretagi
17 Replies
All times are GMT -4. The time now is 11:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy