- 论坛徽章:
- 0
|
急!
[quote]原帖由 "huoniao"]但我这个系统是24小时不能停的阿,能看看我提出的第一个问题吗?[/quote 发表:
Hi,
According to the man page of "fuser", the following is the explaination of the letter "c" and "o", etc:
The fuser command lists the process IDs of processes that have each specified file open. For block special devices, all processes using any file on that device are listed. The process ID can be followed by a letter, identifying how the file is being used.
c file is its current directory.
r file is its root directory, as set up by the chroot command
(see chroot(1M)).
o It has file open.
m It has file memory mapped.
t file is its text file.
To extend the file system online (without stop services), you will need to have HP software "B3929BA HP OnLine JFS" installed. Do a "swlist | grep OnLine" to see if you have this installed.
If you have it installed, then do the following (assume you want to extend the /opt/test file system on /dev/vg01/lvol6 to 6GB):
# lvextend -L 6000 /dev/vg01/lvol6
# fsadm -F vxfs -b 6000M /opt/test
If you don't have the OnLine JFS installed, then you have no choice. You have to stop the processes that are using the file system and umount the file system, then to extend:
# fuser -ku /opt/test
# lvextend -L 6000 /dev/vg01/lvol6
# extendfs -F vxfs /dev/vg01/rlvol6
# mount /dev/vg01/lvol6 /opt/test
Hope this helps. |
|