Sponsored Content
Operating Systems AIX Increasing the FileSystem Size Post 73997 by bakunin on Tuesday 7th of June 2005 07:45:30 AM
Old 06-07-2005
This is exactly what I was talking about. Time for a little B&R (bakuckup and restore).

If you do have enough space available you can speed things up by making a new FS, mount it on some temporary place, move the data, then umount the old FS, drop it and mount the new FS to the original place.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

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... (1 Reply)
Discussion started by: TRUEST
1 Replies

2. UNIX for Dummies Questions & Answers

Increasing a directory size

Hello all Can someone tell me I am running a script and the outputs directory is too small to contain the newly created file as a result of this script. How can I increase the directory size? Thanks (9 Replies)
Discussion started by: jonest
9 Replies

3. HP-UX

Help on increasing fs size

Hi Experts, I am not sure whether my question should be in this thread or some other one. I am using HP Tru64 system. Currently one of my filesystem /others is almost full. I need to know the exact commands to increase this filesystem. Please show me how to check for free partitions and add... (5 Replies)
Discussion started by: kingsto88
5 Replies

4. HP-UX

Increasing swap size

We increased our server's RAM 8 -> 32 GB RAM. swap memory is currently 10 GB. With which command I can increase this memory? (1 Reply)
Discussion started by: akyuceisik
1 Replies

5. AIX

Increasing size of a filesytem

hi Im using AIX4.3. Through smit I tried to increase the size of a directory. I changed 10,000 blocks more but finally i got 524288 blocks more. That is before change : 12582912 blocks I have tried for change: 12592912 blocks then i execute smit. But finally I got: ... (3 Replies)
Discussion started by: sumanbangladesh
3 Replies

6. AIX

Does HACMP have bugs increasing filesystem or Logical volumes

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

Increasing ./usr or any filesystem

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

increasing interlace size

Hi All, I have got a RAID 5 SVM in my Solaris Box. Recently we had performance issues with it. So SUN has told us to increase the interlace size to 128k. how can we do it so that we have to recreate the RAID 5. ALso guide what are all the pre cautions that we need to take before doing... (1 Reply)
Discussion started by: jegaraman
1 Replies

9. AIX

Problem in increasing filesystem

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

Increasing the filesystem size

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
UMOUNT(2)						     Linux Programmer's Manual							 UMOUNT(2)

NAME
umount, umount2 - unmount file system SYNOPSIS
#include <sys/mount.h> int umount(const char *target); int umount2(const char *target, int flags); DESCRIPTION
umount() and umount2() remove the attachment of the (topmost) file system mounted on target. Appropriate privilege (Linux: the CAP_SYS_ADMIN capability) is required to unmount file systems. Linux 2.1.116 added the umount2() system call, which, like umount(), unmounts a target, but allows additional flags controlling the behav- ior of the operation: MNT_FORCE (since Linux 2.1.116) Force unmount even if busy. This can cause data loss. (Only for NFS mounts.) MNT_DETACH (since Linux 2.4.11) Perform a lazy unmount: make the mount point unavailable for new accesses, and actually perform the unmount when the mount point ceases to be busy. MNT_EXPIRE (since Linux 2.6.8) Mark the mount point as expired. If a mount point is not currently in use, then an initial call to umount2() with this flag fails with the error EAGAIN, but marks the mount point as expired. The mount point remains expired as long as it isn't accessed by any process. A second umount2() call specifying MNT_EXPIRE unmounts an expired mount point. This flag cannot be specified with either MNT_FORCE or MNT_DETACH. UMOUNT_NOFOLLOW (since Linux 2.6.34) Don't dereference target if it is a symbolic link. This flag allows security problems to be avoided in set-user-ID-root programs that allow unprivileged users to unmount file systems. RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately. ERRORS
The error values given below result from file-system type independent errors. Each file system type may have its own special errors and its own special behavior. See the Linux kernel source code for details. EAGAIN A call to umount2() specifying MNT_EXPIRE successfully marked an unbusy file system as expired. EBUSY target could not be unmounted because it is busy. EFAULT target points outside the user address space. EINVAL target is not a mount point. Or, umount2() was called with MNT_EXPIRE and either MNT_DETACH or MNT_FORCE. ENAMETOOLONG A pathname was longer than MAXPATHLEN. ENOENT A pathname was empty or had a nonexistent component. ENOMEM The kernel could not allocate a free page to copy filenames or data into. EPERM The caller does not have the required privileges. VERSIONS
MNT_DETACH and MNT_EXPIRE are only available in glibc since version 2.11. CONFORMING TO
These functions are Linux-specific and should not be used in programs intended to be portable. NOTES
The original umount() function was called as umount(device) and would return ENOTBLK when called with something other than a block device. In Linux 0.98p4 a call umount(dir) was added, in order to support anonymous devices. In Linux 2.3.99-pre7 the call umount(device) was removed, leaving only umount(dir) (since now devices can be mounted in more than one place, so specifying the device does not suffice). SEE ALSO
mount(2), path_resolution(7), mount(8), umount(8) COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2010-06-19 UMOUNT(2)
All times are GMT -4. The time now is 07:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy