Help understanding this SunOs 5.10 Filesystem.


 
Thread Tools Search this Thread
Operating Systems Solaris Help understanding this SunOs 5.10 Filesystem.
# 1  
Old 10-02-2012
Help understanding this SunOs 5.10 Filesystem.

Hi guys! First of all thanks for reading.

I was the "lucky winner" to be in charge of an old a$$ SunOS 5.10 server at work. This server is going to be used to store files and I need to clean it up to make some room.

I need help understanding this Filesystem since Im a not too familiar with Sun.

Code:
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d10         15G    13G   1.3G    92%    /
/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                   6.7G   1.7M   6.7G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/platform/SUNW,T5240/lib/libc_psr/libc_psr_hwcap2.so.1
                        15G    13G   1.3G    92%    /platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,T5240/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                        15G    13G   1.3G    92%    /platform/sun4v/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   6.7G    64K   6.7G     1%    /tmp
swap                   6.7G    72K   6.7G     1%    /var/run
app                    667G    41K   749M     1%    /app
app/backup              40G    42K    40G     1%    /backup
oslocal/export_home     60G    57G   2.8G    96%    /export/home
app/home_app            12G   3.5G   8.5G    30%    /home/app
app/oradata_smart_ora1
                        13G   1.1G    12G     9%    /oradata/SMART/ora1
app/oradata_smart_ora2
                        18G   7.1G    11G    40%    /oradata/SMART/ora2
app/oradata_smart_ora3
                        36G    20G    16G    56%    /oradata/SMART/ora3
app/oradata_smart_ora4
                       166G   136G    30G    82%    /oradata/SMART/ora4
app/oradata_smart_ora5
                        55G    12G    43G    23%    /oradata/SMART/ora5
app/oradata_smart_ora6
                        75G    47G    28G    63%    /oradata/SMART/ora6
app/oradata_smart_ora7
                       147G   122G    25G    84%    /oradata/SMART/ora7
app/oradata_smart_redo1
                       3.0G   601M   2.4G    20%    /oradata/SMART/redo1
app/oradata_smart_redo2
                       3.0G   601M   2.4G    20%    /oradata/SMART/redo2
app/oradata_smart_redo3
                       3.0G   601M   2.4G    20%    /oradata/SMART/redo3
oslocal                100G    18K    25G     1%    /oslocal
app/smart               95G    42K    95G     1%    /smart

If you have any recommendations to "clean" this server a little bit would be greatly appreciated.
# 2  
Old 10-02-2012
What do you mean by "clean"? You have quite big (667 GB) ZFS pool here (app). It seems to be used by Oracle database. If you are sure that this database is not used anymore you could reuse disks used by this pool.
# 3  
Old 10-02-2012
Well the IT dept brought to my attention this:

Code:
 oslocal/export_home     60G    57G   2.8G    96%    /export/home

but I cant cd to /oslocal/export_home to see its contents

Code:
$ cd /oslocal/
$ ls
$ cd export_home
export_home: does not exist

As for the DB I was informed cant be deleted.

Sorry... Im a a begginer in the Unix/Linux scene :/
# 4  
Old 10-02-2012
This filesystem is mounted on "/export/home". To check what is taking space there, run:
Code:
cd /export/home
du -sk *

This User Gave Thanks to bartus11 For This Post:
# 5  
Old 10-03-2012
Quote:
Originally Posted by bartus11
This filesystem is mounted on "/export/home". To check what is taking space there, run:
Code:
cd /export/home
du -sk *

I was able to identify the file: a backup folder. Was able to get it down to 66% capacity. Thanks! Smilie

---------- Post updated 10-03-12 at 09:02 AM ---------- Previous update was 10-02-12 at 10:18 AM ----------

One more question:
Code:
oslocal                100G    18K    25G     1%    /oslocal
app/smart               95G    42K    95G     1%    /smart

These two mounting points have free space. Their owner group is root:root.
I tried to touch a file there but it wouldnt let me because of permissions.

How can I make it so I can create files there with my regular user? Changing the owner to the regular user?

Whats the best approach.
# 6  
Old 10-03-2012
It depends whether other users should be able to write to those directories. If you will be the only user of those directories, then changing owner property is the best approach. Note that it has to be done by root.
# 7  
Old 10-03-2012
Quote:
Originally Posted by bartus11
It depends whether other users should be able to write to those directories. If you will be the only user of those directories, then changing owner property is the best approach. Note that it has to be done by root.
Some other users will have to too.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

2. Solaris

Solaris Filesystem vs. Windows FileSystem

Hi guys! Could you tell me what's the difference of filesystem of Solaris to filesystem of Windows? I need to compare both. I have read some over the net but it's so much technical. Could you explain it in a more simpler term? I am new to Solaris. Hope you help me guys. Thanks! (4 Replies)
Discussion started by: arah
4 Replies

3. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

4. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

5. Solaris

SunOS 5.8 vs 5.10

Hi, I am bulding a path to open files like this \path\values\file.xxx This path is opened in an IE browser window and opens the file/document I am trying to see. I mean it opens a pdf document or it promps you to "save" or "open" the specific file (if it's a .xml, .doc, .html). I was using... (1 Reply)
Discussion started by: hcibl_javok
1 Replies

6. Solaris

New to SunOS...

...and I'm having an issue with memory usage. I got an alert from our sun management console that the box is at 90% memory usage. I need to know what's eating up the memory as this particular box has 16GB of RAM. (3 Replies)
Discussion started by: bbbngowc
3 Replies

7. Solaris

Looking for help with SunOS 5.6

Hey all, I've got my hands on 10 SunOS 5.6 SPARCStation 20 machines and I'm looking to get them up and running. They're all in various states of disrepair but I've got them all to a state where the hardware is working and the machine will at least attempt to boot. I've only used Solaris as a... (1 Reply)
Discussion started by: kevpatts
1 Replies

8. Solaris

SunOS 5.4

Hi, I Hope you can help me with my problem. I need to have an installation CD of this version. Is there any site you can recommend that I can download an image of this OS? Thanks and God Bless!!! (6 Replies)
Discussion started by: mr_balodoy
6 Replies

9. UNIX for Advanced & Expert Users

Migration of binary file from Sunos 5.8 to Sunos 5.9

I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies

10. Shell Programming and Scripting

SunOS 5.8

I am loging into a SunOS 5.8 box for the first time. I do not see a .profile file in the home directory. Also on the command line when I type a backspace to correct my typing I get a ^H character. Where and how can I fix this? Thanks in advance (5 Replies)
Discussion started by: jxh461
5 Replies
Login or Register to Ask a Question