Solaris系統刪除硬Raid中的卷:delete volume方法
SPARC T4-2, No Keyboard
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.34.2.a, 130560 MB memory available, Serial #103652546.
Ethernet address 0:10:e0:2d:9c:c2, Host ID: 862d9cc2.
啟動到以下時,立即按下Ctrl+Break 即可進入OK模式
Boot device: /pci@400/pci@2/pci@0/pci@e/scsi@0/disk@w3659e9e2459216be,0:a File and args:
{0} ok
{0} ok
{0} ok
{0} ok
{0} ok devalias
{0} ok
{0} ok
{0} ok
{0} ok select /pci@400/pci@2/pci@0/pci@e/scsi
{0} ok
{0} ok
{0} ok show-children
{0} ok show-children
FCode Version 1.00.61, MPT Version 2.00, Firmware Version 9.00.00.00
Target a
Unit 0 Removable Read Only device TEAC DV-W28SS-W 1.0A
SATA device PhyNum 7
Target 381 Volume 0
Unit 0 Disk LSI Logical Volume 3000 583983104 Blocks, 298 GB
VolumeDeviceName 3659e9e2459216be VolumeWWID 0659e9e2459216be
{0} ok
{0} ok show-volumes
Volume 0 Target 381 Type RAID1 (Mirroring)
WWID 0659e9e2459216be
Optimal Enabled Volume Not Consistent
2 Members 583983104 Blocks, 298 GB
Disk 1
Primary Optimal
Target b HITACHI H109030SESUN300G A31A PhyNum 1
Disk 0
Secondary Optimal
Target 9 HITACHI H109030SESUN300G A31A PhyNum 0
{0} ok 0 delete-volume ————————————若已做硬Raid後刪除volume方法
The volume and its data will be deleted
Are you sure (yes/no)? [no] yes
建立Raid
{0} ok
{0} ok devalias
screen /pci@400/pci@2/pci@0/pci@0/pci@0/display@0
mouse /pci@400/pci@2/pci@0/pci@f/pci@0/usb@0,2/hub@2/device@4/mouse@1
rcdrom /pci@400/pci@2/pci@0/pci@f/pci@0/usb@0,2/hub@2/hub@3/storage@2/disk@0
rkeyboard /pci@400/pci@2/pci@0/pci@f/pci@0/usb@0,2/hub@2/device@4/keyboard@0
rscreen /pci@400/pci@2/pci@0/pci@0/pci@0/display@0:r1280x1024x60
net3 /pci@400/pci@2/pci@0/pci@7/network@0,1
net2 /pci@400/pci@2/pci@0/pci@7/network@0
net1 /pci@400/pci@2/pci@0/pci@6/network@0,1
net0 /pci@400/pci@2/pci@0/pci@6/network@0
net /pci@400/pci@2/pci@0/pci@6/network@0
disk7 /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p3
disk6 /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p2
disk5 /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p1
disk4 /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p0
cdrom /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p6
scsi1 /pci@400/pci@2/pci@0/pci@4/scsi@0
disk3 /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p3
disk2 /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p2
disk1 /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p1
disk0 /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p0
disk /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@p0
scsi0 /pci@400/pci@1/pci@0/pci@4/scsi@0
scsi /pci@400/pci@1/pci@0/pci@4/scsi@0
virtual-console /virtual-devices@100/console@1
name aliases
{0} ok select /pci@400/pci@1/pci@0/pci@4/scsi@0
{0} ok
{0} ok show-children
FCode Version 1.00.64, MPT Version 2.00, Firmware Version 9.05.00.00
Target 9
Unit 0 Disk HITACHI H109030SESUN300G A606 585937500 Blocks, 300 GB
SASDeviceName 5000cca043c183a8 SASAddress 5000cca043c183a9 PhyNum 0
Target a
Unit 0 Disk HITACHI H109030SESUN300G A606 585937500 Blocks, 300 GB
SASDeviceName 5000cca0439a72dc SASAddress 5000cca0439a72dd PhyNum 1
{0} ok
{0} ok
{0} ok
{0} ok
{0} ok show-volumes
No volumes to show
{0} ok
{0} ok
{0} ok
{0} ok
{0} ok
{0} ok
{0} ok
{0} ok
{0} ok 9 a create-raid1-volume
Target 9 size is 583983104 Blocks, 298 GB
Target a size is 583983104 Blocks, 298 GB
The volume can be any size from 1 MB to 285148 MB
What size do you want? [285148]
Volume size will be 583983104 Blocks, 298 GB
Enter a volume name: [0 to 15 characters]
Volume has been created
{0} ok
{0} ok
{0} ok
{0} ok show-volumes
Volume 0 Target 381 Type RAID1 (Mirroring)
WWID 0477a3800477505c
Optimal Enabled Background Init In Progress
2 Members 583983104 Blocks, 298 GB
Disk 0
Primary Optimal
Target 9 HITACHI H109030SESUN300G A606 PhyNum 0
Disk 1
Secondary Optimal
Target a HITACHI H109030SESUN300G A606 PhyNum 1
{0} ok
{0} ok
{0} ok unselect-dev
{0} ok
{0} ok
{0} ok boot cdrom -s
Boot device: /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@p6 File and args: -s
464128 5654784
# format
Searching for disks...WARNING: /pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3477a3800477505c,0 (sd6):
Corrupt label; wrong magic number
WARNING: /pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3477a3800477505c,0 (sd6):
Corrupt label; wrong magic number
done
c0t3477A3800477505Cd0: configured with capacity of 277.99GB
AVAILABLE DISK SELECTIONS:
0. c0t3477A3800477505Cd0 <LSI-LogicalVolume-3000 cyl 65533 alt 2 hd 64 sec 139>
/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3477a3800477505c,0
Specify disk (enter its number): 0
selecting c0t3477A3800477505Cd0
[disk formatted]
WARNING: /pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3477a3800477505c,0 (sd6):
Corrupt label; wrong magic number
Disk not labeled. Label it now? y
Executing begin script "begin.sh"...
0. c0t3477A3800477505Cd0
Please select the disk you will install your system!
Default value is : 0
Begin script begin.sh execution completed.
Searching for SolStart directory...
Checking rules.ok file...
Using begin script: install_begin
Using finish script: patch_finish
Executing SolStart preinstall phase...
Executing begin script "install_begin"...
Begin script install_begin execution completed.
Processing profile
- Opening Flash archive
- Validating Flash archive
- Selecting all disks
- Configuring boot device
- Configuring / (c0t3477A3800477505Cd0s0)
- Configuring swap (c0t3477A3800477505Cd0s1)
- Configuring /var (c0t3477A3800477505Cd0s3)
- Configuring /export/home (c0t3477A3800477505Cd0s4)
- Configuring /oracle (c0t3477A3800477505Cd0s5)
- Configuring /metadb (c0t3477A3800477505Cd0s6)
Verifying disk configuration
- WARNING: Unused disk space (c0t3477A3800477505Cd0)
- WARNING: Changing the system's default boot device in the EEPROM
Verifying space allocation
NOTE: 2 archives did not include size information
Preparing system for Flash install
Configuring disk (c0t3477A3800477505Cd0)
- Creating Solaris disk label (VTOC)
Creating and checking file systems
- Creating / (c0t3477A3800477505Cd0s0)
- Creating /var (c0t3477A3800477505Cd0s3)
2015-12-24 09:39:24 0:0:0> NOTICE: Loaded ASR status DB data. Ver. 3.
2015-12-24 09:39:25 0:0:0> NOTICE: Initializing TPM with:
tpm_enable = false
tpm_activate = false
tpm_forceclear = false
2015-12-24 09:39:25 0:0:0> NOTICE: TPM found: Ver 1.2, Rev 3.19, SpecLevel 2, errataRev 2, VendorId 'IFX'
2015-12-24 09:39:25 0:0:0> NOTICE: TPM initialized successfully. Current state is: disabled
2015-12-24 09:39:25 0:0:0> NOTICE: Serial#: 00000000000006aa.355b58c0867b8e6b
2015-12-24 09:39:25 0:0:0> NOTICE: Version: 003e003013030607
2015-12-24 09:39:26 0:0:0> NOTICE: T4 Revision: 1.3
禁掉VCS多路徑:
bash-3.2# vxdiskadm
Volume 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 Unrelocate subdisks back to a disk
15 Exclude a disk from hot-relocation use
16 Make a disk available for hot-relocation use
17 Prevent multipathing/Suppress devices from VxVM's view
18 Allow multipathing/Unsuppress devices from VxVM's view
19 List currently suppressed/non-multipathed devices
20 Change the disk naming scheme
21 Get the newly connected/zoned disks in VxVM view
22 Change/Display the default disk layouts
list List disk information
? Display help about menu
?? Display help about the menuing system
q Exit from menus
Select an operation to perform:
Exclude Devices
Menu: VolumeManager/Disk/ExcludeDevices
VxVM INFO V-5-2-5950
This operation might lead to some devices being suppressed from VxVM's view
(This operation can be reversed using the vxdiskadm command).
Do you want to continue ? [y,n,q,?] (default: y)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31520497/viewspace-2151385/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 找回Oracle中Delete刪除的記錄Oracledelete
- 【Solaris】Solaris檔案系統管理4 ZFS檔案系統備份、刪除與恢復
- oracle delete 分批刪除Oracledelete
- LARGE DELETE快速刪除delete
- Win10系統刪除卷選項灰色無法刪除如何解決Win10
- docker資料卷概念以及刪除資料卷方法Docker
- MySQL防止delete命令刪除資料的兩種方法MySqldelete
- Win7系統元件的刪除方法Win7元件
- 介紹如何從LVM的卷組中刪除物理卷LVM
- python 使用 delete 方法時報錯,可以正常刪除Pythondelete
- Oracle 刪除表中重複記錄的DELETE SQLOracledeleteSQL
- Oracle中審計刪除(DELETE)操作的觸發器Oracledelete觸發器
- Mac雙系統中刪除Windows系統教程MacWindows
- delete和truncate刪除的區別delete
- dual系統表被刪除的解決方法
- Solaris10下檢視硬體RAID的磁碟情況AI
- Elasticsearch增刪改查 之 —— Delete刪除Elasticsearchdelete
- win10系統下游戲欄怎麼刪除 win10系統刪除遊戲欄的方法Win10遊戲
- Win10系統怎麼禁用安全刪除硬體功能Win10
- win10系統如何刪除組_win10刪除組方法Win10
- 在LVM中恢復已刪除的物理卷LVM
- win10系統下刪除遊戲盒子的方法Win10遊戲
- win10系統driverstore檔案怎麼刪除_win10系統刪除driverstore檔案的方法Win10
- win10系統刪除快速訪問中瀏覽記錄的方法Win10
- win10系統刪除開始選單中的資料夾的方法Win10
- xp系統輸入法刪除替換方法
- 在LVM中恢復已刪除的邏輯卷LVM
- win10系統下刪除tmp檔案的方法Win10
- win10系統下刪除guest賬戶的方法Win10
- win10系統刪除Mail應用程式的方法Win10AI
- Win10系統刪除Windows管理憑證的方法Win10Windows
- Win10系統怎麼刪除pin碼 win10刪除pin碼的方法Win10
- delete_partition.pl 刪除分割槽delete
- Shift + Delete刪除的檔案如何恢復?delete
- Linux 系統 LVM(Logical Volume Manager)邏輯卷管理LinuxLVM
- System Volume Information是什麼檔案 System Volume Information可以刪除嗎ORM
- Linux系統中檔案被刪除後的恢復方法(ext4)Linux
- Win10系統離線地圖怎麼刪除 win10系統刪除離線地圖的方法Win10地圖