Re: Copying more than 500 MB crashes Fedora Live CD even though there is sufficient RAM
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 hi I noticed this as well when trying to download an image of sonar linux from a fedora live environment. The download would get part way through, usually around 20-21 percent, then fail. I thought it was my network connection, but afterwards nothing else worked. Applications wouldn't launch, bits of gnome would fail to work, etc. This explains it. I was actually worried this was a general linux issue, but if it's a fedora one it's probably a simple fix Thanks Kendell Sent from Sonar GNU/Linux Moez Roy wrote: > On Thu, Apr 16, 2015 at 4:13 PM, Moez Roy > wrote: >> Copying more than 500 MB crashes Fedora Live CD even though there >> is sufficient RAM. >> >> It doesn't matter how much RAM your system has, once you copy >> more than 500 MB you will get stuff like "Input/output error" or >> just plain crashes like "Segmentation fault". >> >> Why does this happen? > > I think I figured out why this happens. > > The file > /usr/lib/dracut/modules.d/90dmsquash-live/dmsquash-live-root.sh > seems to create a 500MB overlay: > > dd if=/dev/null of=/overlay bs=1024 count=1 seek=$((512*1024)) 2> > /dev/null if [ -n "$setup" -a -n "$readonly_overlay" ]; then > RO_OVERLAY_LOOPDEV=$( losetup -f ) losetup $RO_OVERLAY_LOOPDEV > /overlay else losetup $OVERLAY_LOOPDEV /overlay fi fi > > Wouldn't it be more efficient if this was tmpfs instead? > > This also affects installing applications in the live environment > where the installed size is more than 500MB. > -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCgAGBQJVMcNMAAoJEGYgJ5/kqBTd7fYP/3HKS7d43SyUAujcZ9cogUfY BALgSCsHvLp5YO3vL7GuSwqCcBEKyliXOTZNFiZRmgWYmYYO87xNTuHizfEj4yhI fHg2Efu48UITXzpBCYLKLg5DMJqOue9d13fD7qzr5E9Oqrzwhkcp60TCDAo5MIGn Y0v+T8LdpQ2+INJMnFGq+F8ucQTSqcBpYpJQbAnSIE1svVT+dg+7erc/I0sd98mh wcOmDO1+rZCsK/muL/LEJtWv6lSXzkVMgVCTMBD2/zzLIcYDiUHg0I0pwCQrF510 WzhktMjuUsOTN1t9H+k9V92LQIzgH8Lxxu6D1VBjdDA5uy7e7H2qblyLRO/erIL/ pPXzsgUqTw3rxx0HaNDnTbE/Bf4mFg80t54pzdKphhRAYp4uxyd6jX5AjFZagStZ 9bMURX/LLSy64JvWfbbLPiCUS5HeDuZwdInCFsDKb9zcwfjwNYrD435l0qqNOyCl sKRUjyGyAvrYxhF4WBJh36t5Di5M8wPVeutePb0jLDA1A3PZgK8WJUVsw0Z+tBfu BoT+5SISJdfUWfQE0pkq8QjWgFXZKhvCyXoHwfByDeaXknhR4G4kzQ39XQBdB8gU VZrIqX6aG+YYO6bSovJn9bwdtTE4XJqyglPPAK0zffFKVqZBx5Q6z5n04Ija6/Vu vV45pbZPdpr1cW0K3Ksm =TNuR -END PGP SIGNATURE- -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: Copying more than 500 MB crashes Fedora Live CD even though there is sufficient RAM
On Thu, Apr 16, 2015 at 4:13 PM, Moez Roy wrote: > Copying more than 500 MB crashes Fedora Live CD even though there is > sufficient RAM. > > It doesn't matter how much RAM your system has, once you copy more > than 500 MB you will get stuff like "Input/output error" or just plain > crashes like "Segmentation fault". > > Why does this happen? I think I figured out why this happens. The file /usr/lib/dracut/modules.d/90dmsquash-live/dmsquash-live-root.sh seems to create a 500MB overlay: dd if=/dev/null of=/overlay bs=1024 count=1 seek=$((512*1024)) 2> /dev/null if [ -n "$setup" -a -n "$readonly_overlay" ]; then RO_OVERLAY_LOOPDEV=$( losetup -f ) losetup $RO_OVERLAY_LOOPDEV /overlay else losetup $OVERLAY_LOOPDEV /overlay fi fi Wouldn't it be more efficient if this was tmpfs instead? This also affects installing applications in the live environment where the installed size is more than 500MB. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Re: Copying more than 500 MB crashes Fedora Live CD even though there is sufficient RAM
On 16 April 2015 at 17:13, Moez Roy wrote: > Copying more than 500 MB crashes Fedora Live CD even though there is > sufficient RAM. > > I don't think this is a question meant for the devel list. You would be better off asking on the users list. Also when you do ask it there, please make sure you give a lot of data you did not in this email. 1) Which of the many 'Fedora Live CD' are you referring to. 2) What is the hardware you are trying to install it on. (x86_32, x86_64, ppc, arm) (type of computer if possible) (how much memory you have) 3) How are you copying 500 MB of data. This matters as there are multiple ways of copying and it may be something about how you are doing it. > It doesn't matter how much RAM your system has, once you copy more > than 500 MB you will get stuff like "Input/output error" or just plain > crashes like "Segmentation fault". > > Why does this happen? > -- > devel mailing list > devel@lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/devel > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct -- Stephen J Smoogen. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct