How to extend a filesystem


 
Thread Tools Search this Thread
Operating Systems Solaris How to extend a filesystem
# 1  
Old 05-22-2008
How to extend a filesystem

I am running solaris 10 with Veritas. I want to extend a filesystem. It's an oracle partition (/ora12). How can I find out if there is space available to expand the filesystem and then how does one extend it.

I'm from the HPUX world and so LVM was always how I did things.

Thanks

jackie
# 2  
Old 05-22-2008
hi,
right now ur in vxvm, so
#vxdisk list
#vxdg free (i think you are in ora disk group) or #vxdg -g ora free
it will display the free space in that file system(ora)
free space is very low at that time you have to use vxassist cmd otherwise you use vxmake(very long process) cmd.

=========================================================
Through vxassist cmd
#vxdisk list
#vxdg free or #vxdg -g <diskgroup> free
#vxassist -g <diskgroup> growto vol <vol size>
#devfsadm (no need)
#vxdisk list
=========================================================
different ways are ther.but itz a simple way to increse the fs.
if u want more tell me.
# 3  
Old 05-22-2008
Hello

In the case of vxvm you can proceed with vxdisk list to list the disks in the disk group [take care of mirrroring]
#vxdisk list ---will list disks

# #vxdg -g ora free -------------- if disk group is ora

you will get free space in the specific FS
free space is very low at that time you have to use vxassist cmd otherwise you use vxmake

vxdg -g <diskgroup> free
#vxassist -g <diskgroup> growto vol <vol size> -----------will increase
#devfsadm (no need)
#vxdisk list


pls revert
# 4  
Old 05-22-2008
Thanks guys...but

This is the output I get from df -k

# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d10 4128206 3279527 807397 81% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/md/dsk/d40 10326032 3064167 7158605 30% /var
swap 5589952 96 5589856 1% /var/run
swap 6363344 773488 5589856 13% /tmp
/dev/md/dsk/d50 8261517 4860433 3318469 60% /opt
/dev/vx/dsk/rootdg/ora12
61931520 38252704 23308860 63% /ora12
/dev/vx/dsk/rootdg/ora18
356515840 348081588 8304480 98% /ora18
/dev/vx/dsk/rootdg/ora07
113438720 42824748 69510880 39% /ora07
/dev/vx/dsk/rootdg/oratemp
64320512 38965342 23770535 63% /oratemp
/dev/vx/dsk/rootdg/ora03
20332544 13191700 7029308 66% /ora03
/dev/vx/dsk/rootdg/rauser
22020096 12010928 9383643 57% /rauser
/dev/vx/dsk/rootdg/ora14
43259904 15948712 26884460 38% /ora14
/dev/vx/dsk/rootdg/ora11
44040192 2115372 41269752 5% /ora11
/dev/vx/dsk/rootdg/ora10
153092096 149163556 3867204 98% /ora10
/dev/vx/dsk/rootdg/ora05
156834816 110770040 45345040 71% /ora05
/dev/vx/dsk/rootdg/ora02
20332544 13068248 7150840 65% /ora02
/dev/vx/dsk/rootdg/ora09
68157440 2116916 65008712 4% /ora09
/dev/vx/dsk/rootdg/ora04
211352064 19106216 189242924 10% /ora04
/dev/vx/dsk/rootdg/ora08
209715200 6317876 200219312 4% /ora08
/dev/vx/dsk/rootdg/ora13
75079680 21196 73885768 1% /ora13
/dev/vx/dsk/rootdg/ora06
371621888 325159952 45736000 88% /ora06
/dev/vx/dsk/rootdg/ora15
62914560 57144453 5409535 92% /ora15
/dev/vx/dsk/rootdg/ora01
28311552 17644828 10507232 63% /ora01
/dev/vx/dsk/rootdg/ora16
115343360 53497029 57980999 48% /ora16
/dev/vx/dsk/rootdg/ora17
178257920 129515645 45697279 74% /ora17
/dev/vx/dsk/rootdg/onephone
5242880 248960 4681803 6% /onephone
/dev/vx/dsk/rootdg/ora19
943718400 891611344 48850390 95% /ora19
/dev/vx/dsk/rootdg/cdrtool-tmp
70817408 54304457 16144687 78% /cdrtool-tmp
/dev/md/dsk/d60 39659328 2968253 36294482 8% /export/home
/dev/vx/dsk/rootdg/aircom
6291456 5076660 1195844 81% /data/aircom
/dev/vx/dsk/rootdg/omcrvol
1048576 329048 709084 32% /data/omcr
/dev/vx/dsk/rootdg/tis
6291456 2540747 3543882 42% /data/TIS
/dev/vx/dsk/rootdg/picsvol
41943040 32120717 9217225 78% /data/pictures
/dev/vx/dsk/rootdg/misdw
5242880 4396088 793910 85% /export/home/misdw
/dev/vx/dsk/rootdg/pictures
12582912 9495762 2899079 77% /data/pictures/survey2001
/dev/vx/dsk/rootdg/ora20
104857600 59766242 42273153 59% /ora20
/dev/vx/dsk/rootdg/proc710
576716800 21019162 520966604 4% /ora04/arch/PROC710
/dev/vx/dsk/rootdg/u02
12582912 26319 11771819 1% /u02
/dev/vx/dsk/rootdg/ora21
1064946688 1048659204 16033056 99% /ora21
/dev/vx/dsk/rootdg/ora22
1064946688 1048658812 16033440 99% /ora22
/dev/vx/dsk/rootdg/ora23
1073741824 1048857013 23329571 98% /ora23
/dev/vx/dsk/rootdg/ora24
1073741824 1048857006 23329578 98% /ora24
/dev/vx/dsk/rootdg/ora25
1048576000 839135548 196350487 82% /ora25



and this is what I get from vxdg

# vxdg free
GROUP DISK DEVICE TAG OFFSET LENGTH FLAGS
rootdg saruman02 EMC1_38 EMC1_38 209928960 3060480 n
rootdg saruman20 EMC1_20 EMC1_20 25405440 107635200 n
rootdg saruman20 EMC1_20 EMC1_20 212736000 253440 n
rootdg saruman21 EMC1_19 EMC1_19 136316160 76673280 n
rootdg saruman24 EMC1_16 EMC1_16 211944960 1044480 n


I don't see where I can see how much extra space is available for /ora12
# 5  
Old 05-22-2008
use this to grow the size
vxassist -g dg growto volume size
# 6  
Old 05-23-2008
dude,

just you have to go that diskgroup name, i think u r diskgroup is ora12.

Example:

#vxdg -g ora12 free or
#vxdg free (it will show the all diskgroups)


#vxdisk list
#vxdg free or #vxdg -g <diskgroup> free
#vxassist -g <diskgroup> growto vol <vol size>
#devfsadm (no need)
#vxdisk list
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Extend zfs storage filesystem

Hello, Need to ask the question regarding extending the zfs storage file system. currently after using the command, df -kh u01-data-pool/data 600G 552 48G 93% /data /data are only 48 gb remaining and it has occupied 93% for total storage. zpool u01-data-pool has more then 200 gb... (14 Replies)
Discussion started by: shahzad53
14 Replies

2. 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

3. 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

4. AIX

choosing correct VG for Filesystem extend

Hi Gurus, I have Aix 5.3 server and would like to extend the following filesystem. Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/lv_mecdr 120.00 12.04 90% 560973 14% /home/mecdrBut there's only 16G for the VG, may be i can expand it... (11 Replies)
Discussion started by: thepurple
11 Replies

5. 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

6. Solaris

I need expand or extend a filesystem dfsk.

Hello I need to expand a filesystem is full, but I understand that for this I need a volume manager like SVM or Veritas. I have installed solaris 10 but I give it a metastat and tells me there is no database, as if the installation does not have the sudmirrors attachments. The filesystem... (1 Reply)
Discussion started by: cata
1 Replies

7. 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

8. Filesystems, Disks and Memory

How to extend a filesystem??

OK I'm sure this question has been posed far too many times. I have solaris 10 x86 with NO Veritas or Disksuite filesystems. Below is the output of df -k # df -k Filesystem kbytes used avail capacity Mounted on / 10485760 547513 9317128 6% / /dev... (1 Reply)
Discussion started by: jackiebaron
1 Replies

9. AIX

Extend a Filesystem with other LV

Hi Everybody, Is it possible to extend a Filesystem by adding a new LV that exist on different VG to this Filesystem? Thanks in advance. (6 Replies)
Discussion started by: aldowsary
6 Replies

10. Filesystems, Disks and Memory

how can I extend /usr filesystem

How can extend /usr filesystem in hp-ux 11.11 (I'm not using online JFS) ? (0 Replies)
Discussion started by: pedro_lezaeta
0 Replies
Login or Register to Ask a Question