Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How the Solaris system deletes volumes in hard Raid

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "Solaris system how to delete hard Raid volumes", the content is easy to understand, clear, hope to help you solve doubts, the following let Xiaobian lead you to study and learn "Solaris system how to delete hard Raid volumes" this article.

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.

When starting to the following, press Ctrl+Break immediately to enter OK mode

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 381Type 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-remove the volume method if hard Raid has been made

The volume and its data will be deleted

Are you sure (yes/no)? [no] yes

Create 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 381Type 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

/ 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:

Disable VCS multipathing:

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 Vmuri 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)

The above is all the contents of the article "how to delete volumes in hard Raid in Solaris system". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report