Filesystem - error when extend the filesystem


 
Thread Tools Search this Thread
Operating Systems Solaris Filesystem - error when extend the filesystem
# 1  
Old 08-12-2009
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
Code:
Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm      67 - 5086       38.46GB    (5020/0/0)  80646300
  1       swap    wu       1 -   66      517.72MB    (66/0/0)     1060290
  2     backup    wm       0 - 8920       68.34GB    (8921/0/0) 143315865
  3 unassigned    wm       0               0         (0/0/0)            0
  4 unassigned    wm       0               0         (0/0/0)            0
  5 unassigned    wm       0               0         (0/0/0)            0
  6 unassigned    wm       0               0         (0/0/0)            0
  7 unassigned    wm       0               0         (0/0/0)            0
  8       boot    wu       0 -    0        7.84MB    (1/0/0)        16065
  9 unassigned    wm       0               0         (0/0/0)            0

partition>

but when i using growfs to extend it?
it come out this error

Code:
# growfs -M / /dev/dsk/c0t0d0s0
devinfo: /dev/dsk/c0t0d0s0: No such file or directory
growfs: cannot get partition size

** i am refer the below link
increase root file system size in solaris

current space
Code:
# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c2t0d0s0      5.6G   5.0G   499M    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                   3.0G   920K   3.0G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                       5.6G   5.0G   499M    92%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   3.0G    80K   3.0G     1%    /tmp
swap                   3.0G    28K   3.0G     1%    /var/run


any idea ?

Last edited by SmartAntz; 08-12-2009 at 04:22 AM.. Reason: give more information
# 2  
Old 08-12-2009
Try /dev/dsk/c2t0d0s0 instead of /dev/dsk/c0t0d0s0 Smilie
# 3  
Old 08-12-2009
Quote:
Originally Posted by Smiling Dragon
Try /dev/dsk/c2t0d0s0 instead of /dev/dsk/c0t0d0s0 Smilie
Thanks for Ur reply
still get the same error
Code:
# growfs -M / /dev/dsk/c2t0d0s0
devinfo: /dev/dsk/c2t0d0s0: Inappropriate ioctl for device
growfs: cannot get partition size

# 4  
Old 08-12-2009
"Inappropriate ioctl for device" isn't the same error as "No such file or directory".

1: You need to specify a raw device.
2: You can't grow / anyway. You need to boot from a different media to achieve that.

Last edited by jlliagre; 08-12-2009 at 05:10 AM.. Reason: typo
# 5  
Old 08-12-2009
All, Can we grow a file system even if its not part of any volume?
# 6  
Old 08-12-2009
Yes as long as the underlying partition can be grown.
# 7  
Old 08-12-2009
Thanks all..
i successful extend the root file system by using this

1. extend the cylinders
2. growfs -M / /dev/rdsk/c2t0d0s0

specify a raw device

Code:
# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c2t0d0s0       38G   5.1G    33G    14%    /
/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                   3.0G   916K   3.0G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                        38G   5.1G    33G    14%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   3.0G    80K   3.0G     1%    /tmp
swap                   3.0G    28K   3.0G     1%    /var/run

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

8. Solaris

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 (5 Replies)
Discussion started by: jackiebaron
5 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