Today i had to create a swap because i had problems with a php package manager - composer - when updating the dependencies because it didn’t have enough free memory. I’ve created it on /var/swap.1 with the following commands:
/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 /sbin/mkswap /var/swap.1 /sbin/swapon /var/swap.1
After this the composer updated the dependencies successfully as expected. After that i runned fdisk to check the partitions and now i’m getting invalid partition table:
Disk /dev/vda: 41610 cylinders, 16 heads, 63 sectors/track sfdisk: ERROR: sector 0 does not have an msdos signature /dev/vda: unrecognized partition table type No partitions found
Is this something i should worry about? It’s a VPS with 512MB running debian 7.
Thanks in advance
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!