0

I ran this command on Ubuntu to resize the /tmp and after that there is segmentation fault coming.

dd if=/dev/zero of=/dev/xvda1 bs=1024M count=2

Its our live server. Is there any way to get it working or get the data?

Thanks.

2
  • Do you unmount /tmp before resize and dd ?
    – Maxiko
    Feb 15, 2016 at 9:19
  • not really ... I was not aware about and ran it accidentyl . Feb 15, 2016 at 9:23

1 Answer 1

0

The segmentation fault was probably related to the selected block size: with bs=1024M you asked for 1GB-sized blocks, which can be too much for your server.

Anyway, if xvda1 was your data partition, unfortunately your data are gone. Sorry...

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .