免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4690 | 回复: 0
打印 上一主题 下一主题

[SCO UNIX] 学习笔记之其他 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-05-28 09:59 |只看该作者 |倒序浏览
告别Tru64 UNIX,资料分享。

root@TEST1 /# voldg free
GROUP        DISK         DEVICE       TAG          OFFSET    LENGTH    FLAGS
testdg       dsk10a       dsk10a       dsk10        18874368  2093040   -
testdg       dsk10b       dsk10b       dsk10        0         20967424  -
testdg       dsk10d       dsk10d       dsk10        0         20967424  -
root@TEST1 /# voldg list
\NAME         STATE    ID
rootdg       enabled  1258351821.1026.oraclerac
testdg       enabled  1258352616.1060.oraclerac
root@TEST1 /#
root@TEST1 /# voldiskadm

Logical Storage Manager Support Operations
Menu: VolumeManager/Disk

1      Add or initialize one or more disks
2      Encapsulate one or more disks
3      Remove a disk
4      Remove a disk for replacement
5      Replace a failed or removed disk
6      Mirror volumes on a disk
7      Move volumes from a disk
8      Enable access to (import) a disk group
9      Remove access to (deport) a disk group
10     Enable (online) a disk device
11     Disable (offline) a disk device
12     Mark a disk as a spare for a disk group
13     Turn off the spare flag on a disk
14     Recover plexes and volumes after disk replacement
list   List disk information

?      Display help about menu
??     Display help about the menuing system
q      Exit from menus

Select an operation to perform: 7


Move volumes from a disk
Menu: VolumeManager/Disk/Evacuate

  Use this menu operation to move any volumes that are using a
  disk onto other disks.  Use this menu immediately prior to
  removing a disk, either permanently or for replacement.  You can
  specify a list of disks to move volumes onto, or you can move the
  volumes to any available disk space in the same disk group.

  NOTE:  Simply moving volumes off of a disk, without also removing
         the disk, does not prevent volumes from being moved onto
         the disk by future operations.  For example, using two
         consecutive move operations may move volumes from the
         second disk to the first.

Enter disk name [<disk>,list,q,?] list

Disk group: rootdg

DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE

dm dsk0h        dsk0h        simple   4096     0        -

Disk group: testdg

DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE

dm dsk10a       dsk10a       simple   4096     20967408 -
dm dsk10b       dsk10b       simple   4096     20967424 -
dm dsk10d       dsk10d       simple   4096     20967424 -

Enter disk name [<disk>,list,q,?] dsk10a

  You can now specify a list of disks to move onto.  Specify a list
  of disk media names (e.g., testdg01) all on one line separated by
  blanks.  If you do not enter any disk media names, then the volumes
  will be moved to any available space in the disk group.

Enter disks [<disk ...>,list,q,?] dsk10b

  Requested operation is to move all volumes from disk dsk10a in
  group testdg.

  NOTE: This operation can take a long time to complete.

Continue with operation? [y,n,q,?] (default: y)

  Move volume volfs ...
/usr/sbin/volevac: cleanup_tmpfiles: not found

  Evacuation of disk dsk10a is complete.

Move volumes from another disk? [y,n,q,?] (default: n)

Logical Storage Manager Support Operations
Menu: VolumeManager/Disk

1      Add or initialize one or more disks
2      Encapsulate one or more disks
3      Remove a disk
4      Remove a disk for replacement
5      Replace a failed or removed disk
6      Mirror volumes on a disk
7      Move volumes from a disk
8      Enable access to (import) a disk group
9      Remove access to (deport) a disk group
10     Enable (online) a disk device
11     Disable (offline) a disk device
12     Mark a disk as a spare for a disk group
13     Turn off the spare flag on a disk
14     Recover plexes and volumes after disk replacement
list   List disk information

?      Display help about menu
??     Display help about the menuing system
q      Exit from menus

Select an operation to perform: q

Goodbye.

root@TEST1 /# voldg free
GROUP        DISK         DEVICE       TAG          OFFSET    LENGTH    FLAGS
testdg       dsk10a       dsk10a       dsk10        0         20967408  -
testdg       dsk10b       dsk10b       dsk10        18874368  2093056   -
testdg       dsk10d       dsk10d       dsk10        0         20967424  -

10迁移volume.zip

2.15 KB, 下载次数: 79

关于addvol_rmvol_mirror usr等等的一些实验.zip

15.81 KB, 下载次数: 68

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP