- 论坛徽章:
- 0
|
告别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 - |
|