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?


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

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...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.