Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to re-allocate disk space on solaris 10 Post 302099527 by duke0001 on Tuesday 12th of December 2006 04:15:33 PM
Old 12-12-2006
How to re-allocate disk space on solaris 10

I am not very good at UNIX and seek help here. I tried to install Oracle 10g on a 64 bit Sun sparc machine with solaris 10 as OS. After I installed solaris 10, the current file system on the machine looks like this:

/dev/dsk/c0t0d0s0 5104758 4854293 199418 97% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 971856 1024 970832 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
fd 0 0 0 0% /dev/fd
swap 971184 352 970832 1% /tmp
swap 970896 64 970832 1% /var/run
/dev/dsk/c0t0d0s7 32858997 32601 32497807 1% /export/home

Then, I created oracle directory as /u01/app/oracle. It automatically mount from /dev/dsk/c0t0d0s0. Now disk space in that partition is almost full (97%). I need to use /dev/dsk/c0t0d0s7 because this partition got enough space. If I create /u01/app/oracle under /dev/dsk/c0t0d0s7, will the mount point be under /export/home? From file system angle, it will show directory like: /export/home/u01/app/oracle? Please help me to figure out this part correctly. Thanks for your help.
 

10 More Discussions You Might Find Interesting

1. Solaris

Disk space management on Solaris

Hi, I'm using sun solaris. Using df -h I have the following: Filesystem size used avail capacity Mounted on /dev/md/dsk/d2 12G 7.1G 4.6G 61% / /proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% ... (5 Replies)
Discussion started by: HSN
5 Replies

2. Solaris

command to find free disk space on solaris

In linux df is the command to find free space what is the equivalent command in the Solaris (2 Replies)
Discussion started by: harishankar
2 Replies

3. UNIX for Advanced & Expert Users

How to allocate swap space?

Hi all, I would like to know how i can mount swap on /tmp at boot time, I mean even before the actual script that does the mounting kicks in? i tried this mount -F tmpfs swap /tmp (nothing happens it just hangs during the booting) I also tried this /usr/lib/fs/tmpfs/mount swap /tmp... (3 Replies)
Discussion started by: wrapster
3 Replies

4. UNIX for Dummies Questions & Answers

allocate more space to /home

Hi all Is there a way to allocate more space to a partition? For example my /home is almost full , at 96% so can I move memory from lets say / to /home? df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 6190692 2571688 3304532 44% / /dev/sda2... (2 Replies)
Discussion started by: mcraul
2 Replies

5. Programming

How to get free disk space size in C/C++ program( Solaris system)

How to get free disk space size in C/C++ program( Solaris system)? Is there any standard function or system function? Just like "df" or "getdfree" in Linux. (4 Replies)
Discussion started by: yidu
4 Replies

6. Shell Programming and Scripting

Disk Space availability on solaris machine

Hi, I have a question regarding finding free space on the disk of a solaris machine. Many mount points are available in my machine. Right now i am using df -b option to get the free disk space available. I have an assignment to check free space on the disk. I pass the directory as a... (3 Replies)
Discussion started by: raghu.amilineni
3 Replies

7. Solaris

solaris 8 / disk space almost full

Hi All, My Solaris 8 firewall server is getting full on the / filesystem. I don't know which one should I delete. I think there's no more to delete on the file like logs or temp file. Does someone knows about deleting a safe file (or folder) on FS like /usr, /opt, /platform, /kernel, /sbin?... (7 Replies)
Discussion started by: itik
7 Replies

8. Solaris

disk space solaris 10

I got 4 hd each of 75GB. The os sun solaris 10 is installed on disk 0 and is almost full. see at df -k shows the following $ df -k Dateisystem kByte belegt verfügbar Kapazität Eingehängt auf /dev/dsk/c1t0d0s0 6856805 6388140 400097 95% / /devices 0 ... (3 Replies)
Discussion started by: j2me
3 Replies

9. Solaris

Re-allocate disk space

I am running out of space, and would like to reallocate some "wasted" space. Here is what I see: > df -h Filesystem Size Used Avail Use% Mounted on /dev/dsk/c0t0d0s0 5.4G 4.5G 860M 85% / swap 2.0G 1.3M 2.0G 1% /etc/svc/volatile swap ... (4 Replies)
Discussion started by: ippy98
4 Replies

10. Solaris

Solaris 8-How to check unallocated physical volumn and how allocate it to a disk?

How can I check unallocated physical volumn size on Solaris 8? And how do I allocate it? As you can see /TSHE_applics is nearly full with 97% used and we need to allocate some more disk space as there are 2 more projects that requires a few more installation on it by October 2010. Filesystem ... (2 Replies)
Discussion started by: Wanida
2 Replies
vfstab(4)                                                          File Formats                                                          vfstab(4)

NAME
vfstab - table of file system defaults DESCRIPTION
The file /etc/vfstab describes defaults for each file system. The information is stored in a table with the following column headings: device device mount FS fsck mount mount to mount to fsck point type pass at boot options The fields in the table are space-separated and show the resource name (device to mount), the raw device to fsck (device to fsck), the default mount directory (mount point), the name of the file system type (FS type), the number used by fsck to decide whether to check the file system automatically (fsck pass), whether the file system should be mounted automatically by mountall (mount at boot), and the file system mount options (mount options). (See respective mount file system man page below in SEE ALSO for mount options.) A '-' is used to indicate no entry in a field. This may be used when a field does not apply to the resource being mounted. The getvfsent(3C) family of routines is used to read and write to /etc/vfstab. /etc/vfstab can be used to specify swap areas. An entry so specified, (which can be a file or a device), will automatically be added as a swap area by the /sbin/swapadd script when the system boots. To specify a swap area, the device-to-mount field contains the name of the swap file or device, the FS-type is "swap", mount-at-boot is "no" and all other fields have no entry. EXAMPLES
The following are vfstab entries for various file system types supported in the Solaris operating environment. Example 1: NFS and UFS Mounts The following entry invokes NFS to automatically mount the directory /usr/local of the server example1 on the client's /usr/local directory with read-only permission: example1:/usr/local - /usr/local nfs - yes ro The following example assumes a small departmental mail setup, in which clients mount /var/mail from a server mailsvr. The following entry would be listed in each client's vfstab: mailsvr:/var/mail - /var/mail nfs - yes intr,bg The following is an example for a UFS file system in which logging is enabled: /dev/dsk/c2t10d0s0 /dev/rdsk/c2t10d0s0 /export/local ufs 3 yes logging See mount_nfs(1M) for a description of NFS mount options and mount_ufs(1M) for a description of UFS options. Example 2: pcfs Mounts The following example mounts a pcfs file system on a fixed hard disk on an x86 machine: /dev/dsk/c1t2d0p0:c - /win98 pcfs - yes - The example below mounts a Jaz drive on a SPARC machine. Normally, the volume management daemon (see vold(1M)) handles mounting of remov- able media, obviating a vfstab entry. If you choose to specify a device that supports removable media in vfstab, be sure to set the mount- at-boot field to no, as below. Such an entry presumes you are not running vold. /dev/dsk/c1t2d0s2:c - /jaz pcfs - no - For removable media on a SPARC machine, the convention for the slice portion of the disk identifier is to specify s2, which stands for the entire medium. For pcfs file systems on x86 machines, note that the disk identifier uses a p (p0) and a logical drive (c, in the /win98 example above) for a pcfs logical drive. See mount_pcfs(1M) for syntax for pcfs logical drives and for pcfs-specific mount options. Example 3: CacheFS Mount Below is an example for a CacheFS file system. Because of the length of this entry and the fact that vfstab entries cannot be continued to a second line, the vfstab fields are presented here in a vertical format. In re-creating such an entry in your own vfstab, you would enter values as you would for any vfstab entry, on a single line. device to mount: svr1:/export/abc device to fsck: /usr/abc mount point: /opt/cache FS type: cachefs fsck pass: 7 mount at boot: yes mount options: local-access,bg,nosuid,demandconst,backfstype=nfs,cachedir=/opt/cache See mount_cachefs(1M) for CacheFS-specific mount options. Example 4: Loopback File System Mount The following is an example of mounting a loopback (lofs) file system: /export/test - /opt/test lofs - yes - See lofs(7FS) for an overview of the loopback file system. SEE ALSO
fsck(1M), mount(1M), mount_cachefs(1M), mount_hsfs(1M), mount_nfs(1M), mount_tmpfs(1M), mount_ufs(1M), swap(1M), getvfsent(3C) System Administration Guide: Basic Administration SunOS 5.10 21 Jun 2001 vfstab(4)
All times are GMT -4. The time now is 04:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy