Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 169668

File system error, cannot erase

$
0
0

Hey,

 

I've had to rebuild a RAID array on a customer server (actually I remade it completely). While at it, I upgraded ESXi from 4.1 to 5.0 u1. After this I can't add the RAID array to storage. I gather as much it's the previous file system that's f-ed up somehow, but it seems no matter what I do I can't completely erase everything on it. These are the commands I've tried:

 

vmkfstools -C vmfs3 /vmfs/devices/disks/eui.22570001555c70ed


This gives me:

Failed to check for existing file system on device '/vmfs/devices/disks/eui.22570001555c70ed'.

Usage: vmkfstools -C [vmfs3|vmfs5] /vmfs/devices/disks/vml... or,

       vmkfstools -C [vmfs3|vmfs5] /vmfs/devices/disks/naa... or,

       vmkfstools -C [vmfs3|vmfs5] /vmfs/devices/disks/mpx.vmhbaA:T:L:P

Error: Unable to access device, please check your connection to the device.


fdisk -l /vmfs/devices/disks/eui.22570001555c70ed

 

Gives me:

***
*** The fdisk command is deprecated: fdisk does not handle GPT partitions.  Please use partedUtil
***

Note: sector size is 4096 (not 512)

Disk /vmfs/devices/disks/eui.22570001555c70ed: 1999.9 GB, 1999999336448 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 4096 = 65802240 bytes

Disk /vmfs/devices/disks/eui.22570001555c70ed doesn't contain a valid partition table

 

 

partedUtil mklabel /dev/disks/eui.22570001555c70ed msdos

 

Gives me:

Warning: Device /dev/disks/eui.22570001555c70ed has a logical sector size of 4096.  Not all parts of GNU Parted support this at the moment, and the working code is HIGHLY EXPERIMENTAL.

*** glibc detected *** <unknown>: double free or corruption (!prev): 0x0804f200 ***
*** glibc detected *** <unknown>: malloc(): memory corruption: 0x0804f408 ***

 

 

dd if=/dev/zero of="/vmfs/devices/disks/eui.22570001555c70ed" bs=4096 count=34 conv=notrunc

dd if=/dev/zero of="/vmfs/devices/disks/eui.22570001555c70ed" bs=4096 count=34 seek=488281054 conv=notrunc


This seems to work, as I get expected results back, but running the above commands again gives the same results though. Can someone please help me with this?


Viewing all articles
Browse latest Browse all 169668

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>