Sponsored Content
Special Forums Hardware How to identify virtual/physic disk path on X4100? Post 302768489 by sunnychen98 on Friday 8th of February 2013 04:21:41 PM
Old 02-08-2013
Hello,

The problem has been just resolved, but not as what we expected the way the problem should be resolved.

What we did was that we have found a similar structure server as spare, so our original idea was to shut down this spare server, boot to BIOS, check it's disk mirroring setting, pull one disk out, boot up to see the error message, then which might help us to determine which disk was the real bad one.

While local HW team told me they only saw 2 disks in X4100, I started to suspect there was no HW mirroring set-up, so we ran format->analyze->read on spare server, I intentionally picked c2t3d0 ( the one was bad on prod server ), after HW team confirmed they saw the blinking light while doing analyze, we decided to replace the disk on the problem server in the same slot.

After disk was hot-swap, "format", "prtvtoc /dev/rdsk/c2t3d0s2", "raidctl -l" all worked, then my suspicion raised : why I was seeing 2 disks in format? If it's HW mirroring, I should only see 1 disk in "format" ( since it's virtual to OS ).

Conclusion: the X4100 has 2 disks only and never been configured with HW mirroring.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

identify free disk spaces

Hi experts, I need to determine if I have 4GB free space on my UNix server? Is there a way that I can do it instead of executing df -k . in each folder? Thanks for your help. (3 Replies)
Discussion started by: tads98
3 Replies

2. Solaris

Physically identify hard disk.

Hi, I have a failed hard disk in my Sun Fire V240. Unfortunately it does not show up in 'cfgadm -al' or in the format command so I cannot unconfigure it and illuminate the blue light on the front to identify it. Is there any way of iluminating the blue lights on the other disks so I can at... (3 Replies)
Discussion started by: sparcman
3 Replies

3. AIX

Filesystem with Virtual Disk

HI All i have been assigned a task to create new filesystem with virtual disk but i look into server there is no virtual disk avialable, how do i check the virtual disk in a server or how do i configure virtual disk. please help me out on this issue. (2 Replies)
Discussion started by: gulamibrahim
2 Replies

4. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

5. UNIX for Advanced & Expert Users

Identify failed disk in Linux RAID

Good Evening, 2 years ago, I set up an Ubuntu file-server for a friend, who is a photograph amateur. Basically, the server offers a software RAID-5 that can be accessed remotely from a MAC. Unfortunately, I didn't labeled the hard drives (i.e. which physical drive corresponds to the /dev/sdX... (2 Replies)
Discussion started by: Loic Domaigne
2 Replies

6. UNIX for Dummies Questions & Answers

how to go about resizing the virtual disk?

Hi guys , We are running machines in virtual environment. As a part of virtual solution we have a disk created in form of files on host machine. The problem is we are facing space crunch and need to re size the harddisk files of virtual machines. There a catch the virtual machines are... (0 Replies)
Discussion started by: pinga123
0 Replies

7. Web Development

Apache Virtual Path

Say there is a certain path I wish to always load the same page. So if they go to somesite.com/a/b/c, it always goes to myscript.php and fed a/b/c as a server variable. I'm fairly sure this is possible but cannot remember the term it's called, and so cannot find it in web searches or... (7 Replies)
Discussion started by: Corona688
7 Replies

8. Hardware

Identify Hard Disk interface

Hi, I have broken my laptop hard drive so I would like to put it in an external box to backup my documents. I have a doubt whether the interface of the hard disk is sata or ide. Inside notes attached, is reported "controller SATA AHCI" but on the model section is given IDE hard disk ... (1 Reply)
Discussion started by: nash83
1 Replies

9. Shell Programming and Scripting

Identify full path in argument

I have a small script to send copies of files to another computer used for tests but in the same location:pwd=`pwd` for i in "$@" do echo "rcp -p $i comp-2:$pwd/$i" rcp -p $i comp-2:$pwd/$i echo "Finished with $i" doneIs there a way I can check the parameter to see if it is a full... (5 Replies)
Discussion started by: wbport
5 Replies

10. Solaris

How to identify if disk is attached to SAN and assist in migration.?

I am working on VM host and collecting data to identify the type of storage attached to the server which will be migrated to VNX. it has one ldom created on it luxadm probe output --- No Network Array enclosures found in /dev/es Found Fibre Channel device(s): Node... (7 Replies)
Discussion started by: kpatel786
7 Replies
addbadsec(1M)						  System Administration Commands					     addbadsec(1M)

NAME
addbadsec - map out defective disk blocks SYNOPSIS
addbadsec [-p] [ -a blkno [blkno...]] [-f filename] raw_device DESCRIPTION
addbadsec is used by the system administrator to map out bad disk blocks. Normally, these blocks are identified during surface analysis, but occasionally the disk subsystem reports unrecoverable data errors indicating a bad block. A block number reported in this way can be fed directly into addbadsec, and the block will be remapped. addbadsec will first attempt hardware remapping. This is supported on SCSI drives and takes place at the disk hardware level. If the target is an IDE drive, then software remapping is used. In order for software remapping to succeed, the partition must contain an alternate slice and there must be room in this slice to perform the mapping. It should be understood that bad blocks lead to data loss. Remapping a defective block does not repair a damaged file. If a bad block occurs to a disk-resident file system structure such as a superblock, the entire slice might have to be recovered from a backup. OPTIONS
The following options are supported: -a Adds the specified blocks to the hardware or software map. If more than one block number is specified, the entire list should be quoted and block numbers should be separated by white space. -f Adds the specified blocks to the hardware or software map. The bad blocks are listed, one per line, in the specified file. -p Causes addbadsec to print the current software map. The output shows the defective block and the assigned alternate. This option cannot be used to print the hardware map. OPERANDS
The following operand is supported: raw_device The address of the disk drive (see FILES). FILES
The raw device should be /dev/rdsk/c?[t?]d?p0. See disks(1M) for an explanation of SCSI and IDE device naming conventions. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |x86 | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
disks(1M), diskscan(1M), fdisk(1M), fmthard(1M), format(1M), attributes(5) NOTES
The format(1M) utility is available to format, label, analyze, and repair SCSI disks. This utility is included with the addbadsec, diskscan(1M), fdisk(1M), and fmthard(1M) commands available for x86. To format an IDE disk, use the DOS "format" utility; however, to label, analyze, or repair IDE disks on x86 systems, use the Solaris format(1M) utility. SunOS 5.10 24 Feb 1998 addbadsec(1M)
All times are GMT -4. The time now is 01:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy