- 论坛徽章:
- 0
|
原帖由 zp929 于 2006-2-25 17:07 发表
如果我向3510增加硬盘,将新硬盘增加到原来的LUN上,可是,这个LUN如果有文件系统存在的话,我怎么在不删除它原来的数据的情况下,将新增加的空间增加到文件系统上?我用的是ufs文件系统,不知道有没有办法,哎, ...
Solve:
Maintenance Commands growfs(1M)
NAME
growfs - non-destructively expand a UFS file system
SYNOPSIS
growfs [ -M mount-point ] [ newfs-options ]
[ raw-device ]
DESCRIPTION
growfs non-destructively expands a mounted or unmounted UNIX
file system (UFS) to the size of the file system's slice(s).
Typically, disk space is expanded by first adding a slice to
a metadevice, then running the growfs command. When adding
space to a mirror, you expand each submirror before expand-
ing the file system. On a trans metadevice, the master dev-
ice is expanded, not the trans metadevice. Then the growfs
command is run on the trans metadevice. (You can add space
to a logging device, but you do not need to run the growfs
command. The new space is automatically recognized.) |
|