filesystem


 
Thread Tools Search this Thread
Operating Systems Solaris filesystem
# 1  
Old 12-19-2008
filesystem

Code:
partition> print
Current partition table (original):
Total disk cylinders available: 15934 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       3 -   959       14.66GB    (957/0/0)    30748410
  1       swap    wu     960 -  1025        1.01GB    (66/0/0)      2120580
  2     backup    wm       1 - 15931      244.08GB    (15931/0/0) 511863030
  3 unassigned    wm       0                0         (0/0/0)             0
  4        var    wm    1026 -  1280        3.91GB    (255/0/0)     8193150
  5 unassigned    wm    1281 -  6116       74.09GB    (4836/0/0)  155380680
  6        usr    wm    6117 -  6371        3.91GB    (255/0/0)     8193150
  7       home    wm    6372 - 15933      146.50GB    (9562/0/0)  307227060
  8       boot    wu       0 -     0       15.69MB    (1/0/0)         32130
  9 alternates    wu       1 -     2       31.38MB    (2/0/0)         64260

Code:
# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c1d0s0         14G   882M    13G     7%    /
/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                   1.3G   908K   1.3G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/dev/dsk/c1d0s6        3.8G   2.5G   1.3G    65%    /usr
/usr/lib/libc/libc_hwcap1.so.1
                       3.8G   2.5G   1.3G    65%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
/dev/dsk/c1d0s4        3.8G   1.2G   2.6G    31%    /var
swap                   1.3G    76K   1.3G     1%    /tmp
swap                   1.3G    24K   1.3G     1%    /var/run
/dev/dsk/c1d0s5         73G    64M    72G     1%    /u01
/dev/dsk/c1d0s7        144G   810M   142G     1%    /export/home


I have the above as my partiton, i am trying to use asm for my oracle database. I need have partition 4 mounted as root so that i can have partition 4 as raw.

Also i want assign size to partition 3 knowing fully well that all space as been exausted.

Also why is partition 5 showing unassigned when it already have a filesystem and mounted as /u01

Last edited by seyiisq; 12-19-2008 at 10:47 AM..
# 2  
Old 12-19-2008
Quote:
I have the above as my partiton, i am trying to use asm for my oracle database. I need have partition 4 mounted as root so that i can have partition 4 as raw.
unfortunately, there isn't much you can do if you need root on /dev/rdsk/c1d0t0s4. you would have to re-format the drive. you would essentially back up all your data (ufsdump) to another disk, reformat target drive and then restore data accordingly.

not an oracle expert here but why does it HAVE to be slice 4?

Quote:
Also i want assign size to partition 3 knowing fully well that all space as been exausted.
you will lose data. slices 4-9 on this EFI disk will lose their data as you are requesting new cylinder ranges. notice how the cylinders are contiguous from slice to slice.

Quote:
Also why is partition 5 showing unassigned when it already have a filesystem and mounted as /u01
solaris volume manager no longer uses these 'tag' fields. even though it says 'unassigned' it will still mount /u01 (or any other mount point you specify in /etc/vfstab). it has become more a tradition to tag /, var, /and /usr slices. bottomline is you no longer need to really worry about tags in SVM. however, VxVM still uses tag. just be alert if using veritas.
fyi - possible tags:
  • 0 = unassigned
  • 1 = boot
  • 2 = root
  • 3 = swap
  • 4 = usr
  • 5 = backup
  • 6 = stand
  • 8 = home
  • 9 = alternates
# 3  
Old 12-20-2008
THanks Pupp, pls can someone enlighten on how best assign cylinders to my partition such that i will not run into this prob again, and i will be able to use my partition for whatever i want tio use it for in future.

I am thinking may be i don't have to assign all cylinder at installation so that i can have the rest for use later, could this be the solution to the above.

Also, is it not possible to reuse a partition for something else even when it has been assign for a purpose like you do in windows
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. UNIX for Dummies Questions & Answers

filesystem

i am about to install oracle on my solaris x86-64 This installation require 4Gb space and i qish to do this installation on the directory /u01/app/oracle The following was my approch mkdir -p /u01/app/oracle i then use the command below to see if there is enough space # df -h... (6 Replies)
Discussion started by: seyiisq
6 Replies

6. UNIX for Dummies Questions & Answers

How to know about filesystem

HI Gurus, I would like to know how can i know the dates when the filesystem was added to the server. Thanks Shaan (3 Replies)
Discussion started by: shaan_dmp
3 Replies

7. UNIX for Dummies Questions & Answers

filesystem

hi, had a basic question. Inspite of deletion files from a filesystem(belonging to non-rootvg), the filesystem says 99% full. can someone suggest something? except reboot could someone tell me how to proceed? thanks (1 Reply)
Discussion started by: karthikosu
1 Replies

8. UNIX for Dummies Questions & Answers

io by filesystem??

I'm wanting to drill down one level deeper that iostat. For example, for the following iostat output, I'd like to now understand the io for hdisk2 by filesystem: Disks: % tm_act Kbps tps Kb_read Kb_wrtn hdisk3 4.7 1792.0 80.7 0 5376 hdisk1... (2 Replies)
Discussion started by: priceb
2 Replies

9. UNIX for Advanced & Expert Users

io by filesystem???

I'm cross-posting from the "Unix for Dummies Q&A" forum as I didn't get any response there. I'm wanting to drill down one level deeper from iostat. For example, for the following iostat output, I'd like to now understand the io for hdisk2 by filesystem: Disks: % tm_act Kbps tps Kb_read... (1 Reply)
Discussion started by: priceb
1 Replies

10. UNIX for Dummies Questions & Answers

Filesystem ??

Here is what the output of the df command $df -h Filesystem Size Used Avail Use% Mounted on /dev/dasda1 2.2G 1.0G 1.1G 50% / /dev/dasdb1 2.2G 1.1G 1.0G 51% /usr /dev/dasdc1 2.2G 234M 1.9G 11% /var /dev/dasdd1 2.2G 1.2G 972M ... (5 Replies)
Discussion started by: darthur
5 Replies
Login or Register to Ask a Question