LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   data persistence - how to know how much space is left (https://www.linuxquestions.org/questions/fedora-35/data-persistence-how-to-know-how-much-space-is-left-675207/)

schneidz 10-08-2008 09:00 PM

data persistence - how to know how much space is left
 
hi i used this command to put fedora-core-9 on my external hard-drive:
Code:

livecd-iso-to-disk --overlay-size-mb 1024 Fedora-9-i686-Live.iso /dev/sdb1
it created this file and this is my mount points:
Code:

[schneidz@localhost ~]$ ll /media/disk/LiveOS
total 1748472
-rwxr-xr-x 1 root root      8192 2008-10-08 00:21 osmin.img
-rwxr-xr-x 1 root root 1073741824 2008-10-07 16:23 overlay--1066-0766
-rwxr-xr-x 1 root root  716685312 2008-10-07 20:21 squashfs.img
[schneidz@localhost ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/live-rw  4.0G  2.2G  1.8G  55% /
tmpfs                502M  48K  502M  1% /dev/shm
df: `/home/fedora/.gvfs': No such file or directory
/dev/sdb1            2.0G  1.7G  330M  84% /media/disk

how do i know the space left on this overlay file ?

schneidz 10-09-2008 07:10 AM

i just had to rm my overlay file for the third time because it wouldnt boot up properly.

i keep running out of space but i dont know how to gauge when i am close to running low so the desktop stops working.

is there any way to keep my persistent changes.

Matir 10-09-2008 07:22 AM

Out of curiousity, why not just install FC9 on the external hard disk? Then you could really work with your system. Overlay files have a tendency to get used up really fast in my experience...

schneidz 10-09-2008 12:25 PM

good suggestion matir. by external hard drive i mean my creative zen vision w; how would i install it to the usb drive ? i first allotted 1 gig for fc-9 but i had problems with the 256 mb overlay so i changed it to 2 gig but then again after a while it stopped working. i could make it 16 gb leaving only half for music and videos but i would have to delete a bunch of avi's and albums (not ideal).

it wouldnt be a problem if i knew how much hard drive space i have left (its like driving without a speedometer).

also when it is full it hangs unresponsively and i have to manually poweroff. when i restart it has trouble mounting mount points and it drops me into a bash shell where i have to delete the overlay file. is there a way to delete only the latest changes so i dont have to start from scratch all the time.

schneidz 10-10-2008 12:18 AM

this mite be the answer:
http://forums.fedoraforum.org/showth...94#post1093894


All times are GMT -5. The time now is 09:13 PM.