cancel
Showing results for 
Search instead for 
Did you mean: 

Erase Harddisk in SRM

Marco Dubini
Occasional Advisor

Erase Harddisk in SRM

Hi folks
is there a possibility to formate or erase the harddisk in the SRM?

Greetings from Switzerland
Marco
12 REPLIES
Ivan Ferreira
Honored Contributor

Re: Erase Harddisk in SRM

You cannot erase the data, but you can override the data with the exer command. For example:

exer -p1 -bc 4 -a â wâ -d1 â 0x5aâ dka0

The following command writes the hex pattern 5A to every byte of blocks 1, 2, and 3 â using a packet size of 2048. The value of 2048 for the packet size is derived from multiplying the â bc value (block per I/O) of 4 by the default â bs value (block size) of 512.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Marco Dubini
Occasional Advisor

Re: Erase Harddisk in SRM

Hi Ivan
thanks for your tipp.

Greetings from Switzerland
Marco
Marco Dubini
Occasional Advisor

Re: Erase Harddisk in SRM

Hi Ivan
i have tried it, but it does not work on my ds20e

I tipped in the command and the SRM answers:
dka0.0.2004.1 is write protected
file open failed for DKA0


Sorry but I am a newbie on SRM :)

Greetings
Maroc
Michael Schulte zur Sur
Honored Contributor

Re: Erase Harddisk in SRM

Hi Marco,

why is it you want to delete the disk from srm? The first 16 blocks are read-only anyway. Depending on the controller you could run the setup in its bios and format the drive from there.

greetings,

Michael
Marco Dubini
Occasional Advisor

Re: Erase Harddisk in SRM

Hi Michael
I haven't thougt on this way.

So I am going try this way.
How can I access the configuration menu? (I normaly work with Intel Servers :) )

Greetings
Marco
Michael Schulte zur Sur
Honored Contributor

Re: Erase Harddisk in SRM

Please post
show dev
from the srm console.
Is the server not bootable anymore?
From the shelll you could do it with the dd command.

Michael
Ivan Ferreira
Honored Contributor

Re: Erase Harddisk in SRM

I have not done this before, so try this:

exer -p1 -sb 17 -bc 4 -a "Â Â w"Â Â -d1 "Â Â 0x5a"Â Â dka0

So you will skip the first 16 blocks.

You can also try with:

exer_write

Also, use kill_diags.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: Erase Harddisk in SRM

Sorry for the wrong characters:

exer -p1 -sb 17 -bc 4 -a "w" -d1 "0x5A" dka0

Attached is the SRM reference.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Michael Schulte zur Sur
Honored Contributor

Re: Erase Harddisk in SRM

What Ivan writes look good.
You could even start from block 10 since counting starts with 0 and is specified in hex.

Michael
Marco Dubini
Occasional Advisor

Re: Erase Harddisk in SRM

@ivan
i will try this

@michel
I will made a Picture

Greetings
Marco
Marco Dubini
Occasional Advisor

Re: Erase Harddisk in SRM

So I am Back again:

@ivan
unfortunaly it does not work :(

@michael
I will upload the picture at home cause I haven't got the cable for my cellphone here :(


Marco

Steven Schweda
Honored Contributor

Re: Erase Harddisk in SRM

Why do you wish to do this?

> I normaly work with Intel Servers

Formatting a disk is a common task there.
It's not so common on Tru64, but it all
depends on what you really wish to do.