03-03-2009
I really see no problem at all using growfs on a hardware raid. if you already see the free space on the volume then go ahead enlarge your slice and use growfs.
What the rest is referring to I think is when you upgrade each disk one by one. Then indeed, you will not see the extra space in your volume and will not be able to make your slices bigger.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi,
i have a volume on a LUN of an EMC-storage and i need to increase the
size.
i could increase the size of the LUN on the EMC, i could increase the
size of the disk for solaris, but how can i tell the veritas volume
manager that the disk is larger now?
what i've done:
1. LUN on EMC
2.... (3 Replies)
Discussion started by: pressy
3 Replies
2. What is on Your Mind?
Hi, all!
I've been working for one year as a Unix systems engineer(Solaris) in a large company.
Two days ago I found, that I didn't exactly know where should I grow up?
I can't drop this idea away and I'm still thinking about it. I'm trying to imagine myself in a next year.
Available... (1 Reply)
Discussion started by: movx
1 Replies
3. SuSE
Hi all,
I am using SLES 9 and have following partitions mounted
I would like to make /var 10G atleast.
fdisk -l
This system is doing RAID5(HW).
Can someone help me with this issue?
Thanks (4 Replies)
Discussion started by: upengan78
4 Replies
4. Solaris
Hi,
this is solaris 10 on sparc sf280r, 2 disks mirrored using SVM,
swap is 4GB (slice 1) and rest all is given for / (slice0) in 36G disk.
I have already mirrored disks using SVM, for clear picture, I'm pasting some part of config below,
# Slice 0
metainit -f d110 1 1 c1t0d0s0... (2 Replies)
Discussion started by: upengan78
2 Replies
5. UNIX for Dummies Questions & Answers
I have a 146Gb drive and want to grow the size from 12G to the max available left. I think 20G is being used so I want to max out from 12 G to 126G. Is this possible? Can you help with the command.
root@WRPDWI6k-BU # df -h
Filesystem size used avail... (3 Replies)
Discussion started by: udubya
3 Replies
6. UNIX for Dummies Questions & Answers
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
7. Solaris
Dear Gurus of Unix.
When I Put this command:
# iostat -E
cmdk0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Model: SAMSUNG SV4012H Revision: Serial No: 0540J1BTC53208 Size: 40.06GB <40060403712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal... (6 Replies)
Discussion started by: andresguillen
6 Replies
8. AIX
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
9. Solaris
Hi, I need to expand a ZFS volume from 500GB to 800GB. I'd like to ask your help to confirm the following procedure:
Can I do it on the fly without bothering the users working on this volume?
Thank you in advance! (6 Replies)
Discussion started by: aixlover
6 Replies
LEARN ABOUT FREEBSD
growfs
GROWFS(8) BSD System Manager's Manual GROWFS(8)
NAME
growfs -- expand an existing UFS file system
SYNOPSIS
growfs [-Ny] [-s size] special | filesystem
DESCRIPTION
The growfs utility makes it possible to expand an UFS file system. Before running growfs the partition or slice containing the file system
must be extended using gpart(8). If you are using volumes you must enlarge them by using gvinum(8). The growfs utility extends the size of
the file system on the specified special file. The following options are available:
-N ``Test mode''. Causes the new file system parameters to be printed out without actually enlarging the file system.
-y ``Expert mode''. Usually growfs will ask you if you took a backup of your data before and will do some tests whether special is cur-
rently mounted or whether there are any active snapshots on the file system specified. This will be suppressed. So use this option
with great care!
-s size
Determines the size of the file system after enlarging in sectors. Size is the number of 512 byte sectors unless suffixed with a b,
k, m, g, or t which denotes byte, kilobyte, megabyte, gigabyte and terabyte respectively. This value defaults to the size of the raw
partition specified in special (in other words, growfs will enlarge the file system to the size of the entire partition).
EXAMPLES
Expand root file system to fill up available space:
growfs /
Resize /dev/ada0p1 partition to 2GB and expand the file system:
gpart resize -i 1 -s 2G ada0
growfs -s 2G /dev/ada0p1
SEE ALSO
dumpfs(8), ffsinfo(8), fsck(8), fsdb(8), gpart(8), newfs(8), tunefs(8)
HISTORY
The growfs utility first appeared in FreeBSD 4.4. The ability to resize mounted file systems was added in FreeBSD 10.0.
AUTHORS
Christoph Herrmann <chm@FreeBSD.org>
Thomas-Henning von Kamptz <tomsoft@FreeBSD.org>
The GROWFS team <growfs@Tomsoft.COM>
Edward Tomasz Napierala <trasz@FreeBSD.org>
CAVEATS
When expanding a file system mounted read-write, any writes to that file system will be temporarily suspended until the expansion is fin-
ished.
BUGS
Normally growfs writes cylinder group summary to disk and reads it again later for doing more updates. This read operation will provide
unexpected data when using -N. Therefore, this part cannot really be simulated and will be skipped in test mode.
BSD
November 20, 2014 BSD