1748198 Members
2600 Online
108759 Solutions
New Discussion юеВ

Re: Disk unused

 
SOLVED
Go to solution
Eli Daniel
Super Advisor

Re: Disk unused

Is there any way to know if the disks "unused" contain data?????
Torsten.
Acclaimed Contributor

Re: Disk unused

Unpresent them and wait if someone complains ...


;-)


More serious - if you don't know what are you looking for you will probably find nothing!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Eli Daniel
Super Advisor

Re: Disk unused

I am looking for help. I need to know whether the disk "unused" are used or not.
Torsten.
Acclaimed Contributor

Re: Disk unused

I know.

But what to tell?

Disk are not under volume manager control.

Are the disk mounted?

Are the disk used as raw devices by a database?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Eli Daniel
Super Advisor

Re: Disk unused

excuse the inconvenience
1) discs "unused" are dating?
2) I allocate disk "unused" to a VG?
Torsten.
Acclaimed Contributor

Re: Disk unused

disk dating ???

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor

Re: Disk unused

Hi (again):

> Is there any way to know if the disks "unused" contain data?????

This leads to another question: Do you scrub physical disks when you return them to a free pool? That is, do you erase any LVM metadata if its an LVM disk? [You could use 'dd' or 'pvremove']. If its a raw disk, do you write all zeros or some random pattern with 'dd' to every disk block?

You could write a simple script to write a known "*UNUSED/FREE/AVAILBABLE*" record to a specific disk address to help you in the future.

Once, again, *documentation* is the surest way to know.

I also agree with Torsten --- "unpresent them and wait if someone complains". This is sometimes the "best" way to uncover things long forgotten in complex environments.

Regards!

...JRF...
Eli Daniel
Super Advisor

Re: Disk unused

sorry Data
contains data??
TTr
Honored Contributor

Re: Disk unused

You can try and vgimport these to a temporary vg to check if they contain any data. But first you must verify they they are not used anywhere else as mentioned so far. (different path, different server, raw volumes)
Eli Daniel
Super Advisor

Re: Disk unused

understand,
that was exactly what I was looking