Re: How do I label a disk?
From: _moray (moray1.spam_at_yahoo.com)
Date: 06/06/05
- Next message: Thomas Maier-Komor: "Re: Multiple Processors: psrinfo -v"
- Previous message: didds: "Re: VXVM : which disk is failing?"
- In reply to: Andrew Gabriel: "Re: How do I label a disk?"
- Next in thread: Andrew Gabriel: "Re: How do I label a disk?"
- Reply: Andrew Gabriel: "Re: How do I label a disk?"
- Reply: Oscar del Rio: "Re: How do I label a disk?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 06 Jun 2005 12:46:54 +0200
Andrew Gabriel wrote:
> In article <HgJoe.14773$TR5.7214@news.edisontel.com>,
> _moray <moray1.spam@yahoo.com> writes:
>
>>Hi all,
>>
>>I recently purchased a refurbished Ultra60, it works very well and it
>>doesn't seem to have any problem so far.
>>During my tests I installed on this machine netbsd, solaris and linux
>>(gentoo), now I am going to definitely install solaris but I have this
>>problem with both the disks installed.
>>
>>When I first installed solaris I had to install it on the second drive
>>because the installer was complaining about a missing label on the first
>>disk (yes, I tried to label it with format with no results :(), then I
>
>
> Well, it really does help to say exactly what you typed in and
> exactly what the results were. There are a number of things
> which could be wrong ranging from you mistyping a command, through
> to a dead disk. You haven't provided enough information to say
> which it is.
>
I tried to label it with the format command:
# format
<select disk>
format> label
I also tried adjusting the partitions with
format> partition
and then relabel it.
At the moment here is the output of format (partitions of the first disk):
partition> print
Volume: solaris
Current partition table (original):
Total disk sectors available: 35362115 + 16384 (reserved sectors)
Part Tag Flag First Sector Size Last Sector
0 root wm 34 128.00MB 262177
1 swap wu 262178 128.00MB 524321
2 unassigned wm 0 0 0
3 unassigned wm 0 0 0
4 unassigned wm 0 0 0
5 unassigned wm 0 0 0
6 usr wm 524322 16.61GB 35362114
8 reserved wm 35362115 8.00MB 35378498
partition>
>
> That command doesn't go anywhere near the disk, it
> just creates an 8k file of nulls. Try:
>
> dd if=/dev/zero of=/dev/rdsk/c0t0d0s2 bs=8k count=1
>
>
# dd if=/dev/zero of=/dev/rdsk/c0t0d0s0 bs=8k count=1
WARNING: /pci@1f,4000/scsi@3/sd@0,0 (sd2):
primary label corrupt; using backup
1+0 records in
1+0 records out
And then? format still reports the same partition table, but it also says:
selecting c0t0d0: solaris
[disk formatted]
Reading the primary EFI GPT label failed. Using backup label.
Use the 'backup' command to restore the primary label.
What are the steps to clean a disk so I can start over the installation?
thnx
Ciro.
- Next message: Thomas Maier-Komor: "Re: Multiple Processors: psrinfo -v"
- Previous message: didds: "Re: VXVM : which disk is failing?"
- In reply to: Andrew Gabriel: "Re: How do I label a disk?"
- Next in thread: Andrew Gabriel: "Re: How do I label a disk?"
- Reply: Andrew Gabriel: "Re: How do I label a disk?"
- Reply: Oscar del Rio: "Re: How do I label a disk?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|