02-11-2004
Increasing filesystem space
Now, i know a ufs file system can be increased using mkfs but hwo do I take space from a file system and add it to another file system? at my job here, that seems to be possible because I see request on it almost every day.
what is the exact command to do this and does the system need to be down or only processes writting to the desired directory ought to be killed to complete this procedure??
10 More Discussions You Might Find Interesting
1. AIX
Hi Everybody,
I have AIX 4.3 and I have a FileSystem with 400GB size, which called /db/run. Because of grow up of the application's data, more storage has been added 200GB. To add this space without affecting the application & the application's requirements, I have to add this 200GB to the existed... (9 Replies)
Discussion started by: aldowsary
9 Replies
2. UNIX for Dummies Questions & Answers
Hi,
On one of our solaris servers, the root partition has filled up,(it was poorly sized in the first place), Does anyone have any advice about the best way to add space to a partition. I'm sure I've read how to do this somewhere before but just can't remember...:(
A colleague has suggested... (1 Reply)
Discussion started by: kenny123m
1 Replies
3. UNIX for Dummies Questions & Answers
I searched the archives first, but found that there are alot of mixed answers on whether swap space can or can not be increased. Some postings said swap space can be increased using the swap or growfs commands while other postings said you can not increase the permanent size of the swap space.
... (1 Reply)
Discussion started by: Kevin1166
1 Replies
4. Solaris
Hey guys,
I am somewhat new to Solaris - and very new when it comes to mounts.
My problem is that when I installed Solaris, I allocated way too little diskspace to my / mount (it first became obvious now, however, because of new needs).
bash-3.00# df -h
Filesystem size ... (25 Replies)
Discussion started by: brightstorm
25 Replies
5. Solaris
Hi
I have a mount point that is in production environment, and is currently filled up.
more space has been presented from same original source (EVA).
Problem;
1. Can't see presented space
2. After I discover the presented space, how do I go about adding this new space to existing mount point.... (9 Replies)
Discussion started by: Targ
9 Replies
6. AIX
Hello,
Does HACMP have bugs ? I have version 5.4 on AIX 6.1 and when I try to increase filesystem space or logical volume partitions which are under HACMP VG it gives me error:
# lsvg
rootvg
pr0oravg
px0oravg
pb0oravg
pr0sapvg
px0sapvg
pb0sapvg
pr1_pr2_vg
pr2_px1_vg
#
#... (11 Replies)
Discussion started by: filosophizer
11 Replies
7. AIX
Hi guys,
I want to increase my ./usr or just one path in my aix6.1 machine.
currently if I
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 00f6126500004c00000 0012aef0c9035
VG STATE: active PP SIZE: 128... (2 Replies)
Discussion started by: pilotHans
2 Replies
8. HP-UX
Hi Friends,
I want to cut space from one file system and add in another file system.
For example I have 100 gb space in /oracle/TST/oraarch
I wnat to cut 50 gb from this file system and add 50 in /oracle/TST/sapdata1.
Please hel, How I can do it.
Regards,
Bhagawati Pandey (3 Replies)
Discussion started by: BPANDEY
3 Replies
9. AIX
Hi Friends,
I have a problem while increasing the fileystem. Actually the filesystem is 256 gb
and i have to add another 256 gb.So i got a new lun(hdisk) with 256 gb.
I added to the vg using the extendvg command.
It was successfully added, and when i checked the free pp's in vg it was showing... (4 Replies)
Discussion started by: Mohamed Thamim
4 Replies
10. Hardware
Hi Guys
We have a VM machine, now I want to increase the size of the filesystem.
We are running RHEL6 O/S.
I have filesystem that is 500GB I want to increase that filesystem to 1.5 TB.
The guy who manages the VM increased the size on the VM machine, now how do I make sure that the... (7 Replies)
Discussion started by: Phuti
7 Replies
LEARN ABOUT OPENSOLARIS
mkfs
mkfs(1M) System Administration Commands mkfs(1M)
NAME
mkfs - construct a file system
SYNOPSIS
mkfs [-F FSType] [generic_options]
[-o FSType-specific_options] raw_device_file
[operands]
DESCRIPTION
The mkfs utility constructs a file system on the raw_device_file by calling the specific mkfs module indicated by -F FSType.
Note: ufs file systems are normally created with the newfs(1M) command.
generic_options are independent of file system type. FSType-specific_options is a comma-separated list of keyword=value pairs (with no
intervening spaces), which are FSType-specific. raw_device_file specifies the disk partition on which to write the file system. It is
required and must be the first argument following the specific_options (if any). operands are FSType-specific. See the FSType-specific
manual page of mkfs (for example, mkfs_ufs(1M)) for a detailed description.
OPTIONS
The following are the generic options for mkfs:
-F Specify the FSType to be constructed. If -F is not specified, the FSType is determined from /etc/vfstab by matching the
raw_device_file with a vfstab entry, or by consulting the /etc/default/fs file.
-V Echo the complete command line, but do not execute the command. The command line is generated by using the options and arguments pro-
vided and adding to them information derived from /etc/vfstab or /etc/default/fs. This option may be used to verify and validate
the command line.
-m Return the command line which was used to create the file system. The file system must already exist. This option provides a means of
determining the command used in constructing the file system.
-o Specify FSType-specific options. See the manual page for the mkfs module specific to the file system type.
USAGE
See largefile(5) for the description of the behavior of mkfs when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
FILES
/etc/default/fs Default file system type. Default values can be set for the following flags in /etc/default/fs. For example: LOCAL=ufs
LOCAL The default partition for a command if no FSType is specified.
/etc/vfstab List of default parameters for each file system
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
mkfs_ufs(1M), newfs(1M), vfstab(4), attributes(5), largefile(5)
Manual pages for the FSType-specific modules of mkfs.
NOTES
This command might not be supported for all FSTypes.
You can use lofiadm to create a file that appears to a mkfs command as a raw device. You can then use a mkfs command to create a file sys-
tem on that device. See lofiadm(1M) for examples of creating a UFS and a PC (FAT) file system (using mkfs_ufs(1M) and mkfs_pcfs(1M)) on a
device created by lofiadm.
SunOS 5.11 17 Nov 2000 mkfs(1M)