| Author | Message | 
  
    | 
        
          | kataja   |  | 
        
					| Post subject: Want more space for persist  Posted: 24.02.2012, 15:37 |  | 
  
    | 
        
          | 
  
 Joined: 2012-02-23
 Posts: 8
 
 Status: Offline
 |  | 
        
          | When one problem went gone, an another one came.   
 How do I resize the persist space? The space is running low, though I have more room in usb. My stick is 3.7gb and persist limit is 1.6gb, but I haven't set it anywhere. How to boost it?
 
 I noticed this with
 df -h
 
 and the mounted aptosid's directories were 100% usage. Also, I can't download any files because of the lack of space.
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    | 
        
          | hubi   |  | 
        
					| Post subject: Re: Want more space for persist  Posted: 24.02.2012, 15:49 |  | 
  
    | 
        
          | Moderator 
  
 Joined: 2010-09-11
 Posts: 228
 Location: Vienna (AT)
 Status: Offline
 |  | 
        
          |       kataja wrote: 
I noticed this with
df -h
 And what is the output?
 
 hubi
 |  
          | _________________
 Tilos Rádió Budapest
 |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    | 
        
          | kataja   |  | 
        
					| Post subject: RE: Re: Want more space for persist  Posted: 24.02.2012, 16:01 |  | 
  
    | 
        
          | 
  
 Joined: 2012-02-23
 Posts: 8
 
 Status: Offline
 |  | 
        
          | aptosid@aptosid:~$ df -h Filesystem                   Size  Used Avail Use% Mounted on
 rootfs                       1.8G     0  1.8G   0% /
 udev                        1004M     0 1004M   0% /dev
 tmpfs                        202M  440K  202M   1% /run
 /dev/disk/by-uuid/B29B-7F80  3.7G  2.1G  1.6G  57% /fll/B29B-7F80
 /dev/loop0                   486M  486M     0 100% /fll/fromiso
 /dev/loop1                   467M  467M     0 100% /fll/aptosid
 tmpfs                        1.8G     0  1.8G   0% /
 /dev/loop2                   1.6G  1.5G     0 100% /fll/persist
 aufs                         1.6G  1.5G     0 100% /fll/aufs
 aufs                         1.6G  1.5G     0 100% /bin
 aufs                         1.6G  1.5G     0 100% /boot
 aufs                         1.6G  1.5G     0 100% /etc
 aufs                         1.6G  1.5G     0 100% /home
 aufs                         1.6G  1.5G     0 100% /lib
 aufs                         1.6G  1.5G     0 100% /mnt
 aufs                         1.6G  1.5G     0 100% /opt
 aufs                         1.6G  1.5G     0 100% /root
 aufs                         1.6G  1.5G     0 100% /sbin
 aufs                         1.6G  1.5G     0 100% /selinux
 aufs                         1.6G  1.5G     0 100% /srv
 aufs                         1.6G  1.5G     0 100% /usr
 aufs                         1.6G  1.5G     0 100% /var
 tmpfs                        5.0M     0  5.0M   0% /run/lock
 tmpfs                        404M   21M  383M   6% /tmp
 tmpfs                        404M     0  404M   0% /run/shm
 aptosid@aptosid:~$
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Post subject: RE: Re: Want more space for persist  Posted: 24.02.2012, 16:38 |  | 
  
    | 
        
          | Team Member 
  
 Joined: 2010-08-26
 Posts: 170
 
 
 |  | 
        
          | you are using vfat filesystem so you have a file that is used for the persistence - per the default the installer uses 50% of the space free after copying the iso. 
 remove temporary files, clean the apt-cache
 
 You may want to try the following way
   
 no guarantee that it works. Well at least has worked for me!  you were warned!
 
 
 Backup your persistence file!!
 
 You can not use this way if you are using the persistence file in any way.
 
 
 The default persistance file is named "aptosid-rw"
 
 1. make sure the filesystem on the persistence it's clean
 
       Code: 
e2fsck aptosid-rw
 
 2. adding(appending)  5GB to this file
 
       Code: 
dd if=/dev/zero of=testfile count=5120 bs=1M
 cat testfile >> aptosid-rw
 rm testfile
 
 3. we need the real size im MB so get the size of your "new" aptosid-rw using
 
 
       Code: 
ls -l aptosid-rw | nawk '{v=$5/(1024*1024); print v}'
 
 4. say we got 6758 as output, then we resize the filesystem on the persistence file to 6700M
 
       Code: 
resize2fs -p aptosid-rw 6700M
 
 5. and finnaly "recheck" that filesystem
 
       Code: 
e2fsck aptosid-rw
 |  
          | _________________
 Why do strong arms fatigue themselves with frivolous dumbbells?
 To dig a vineyard is worthier exercise for men.
 Marcus Valerius Martialis, römischer Satiriker und Epigrammdichter
 
 Será que o diabo perdeu a virgindade?
 
 Last edited by x-un-i on 24.02.2012, 19:28; edited 3 times in total
 |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    | 
        
          | kataja   |  | 
        
					| Post subject: RE: Re: Want more space for persist  Posted: 24.02.2012, 18:02 |  | 
  
    | 
        
          | 
  
 Joined: 2012-02-23
 Posts: 8
 
 Status: Offline
 |  | 
        
          | ls -l aptosid-rw | nawk '{v=$1/(1024*1024); print v}' 
 returns 0 , so what to do?
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Post subject: RE: Re: Want more space for persist  Posted: 24.02.2012, 19:27 |  | 
  
    | 
        
          | Team Member 
  
 Joined: 2010-08-26
 Posts: 170
 
 
 |  | 
        
          | sry must say $5 
       Code: 
ls -l aptosid-rw | nawk '{v=$5/(1024*1024); print v}'
 
 also changed in the previous post
 
 Edit: any way as you are using vfat  the file size has a 2GB limit. so the figures are purely an example
 |  
          | _________________
 Why do strong arms fatigue themselves with frivolous dumbbells?
 To dig a vineyard is worthier exercise for men.
 Marcus Valerius Martialis, römischer Satiriker und Epigrammdichter
 
 Será que o diabo perdeu a virgindade?
 |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    | 
        
          | WillamK   |  | 
        
					| Post subject: RE: Re: Want more space for persist  Posted: 28.02.2012, 04:56 |  | 
  
    | 
        
          | 
  
 Joined: 2012-02-17
 Posts: 12
 Location: Miami
 Status: Offline
 |  | 
        
          | Installment support very much need in every software, Online support is good in these days. |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    | 
        
          | kataja   |  | 
        
					| Post subject: Re: RE: Re: Want more space for persist  Posted: 04.03.2012, 16:56 |  | 
  
    | 
        
          | 
  
 Joined: 2012-02-23
 Posts: 8
 
 Status: Offline
 |  | 
        
          |       x-un-i wrote: 
sry must say $5       Code: 
ls -l aptosid-rw | nawk '{v=$5/(1024*1024); print v}'
 
also changed in the previous post
 
Edit: any way as you are using vfat  the file size has a 2GB limit. so the figures are purely an example
 Thanks, it worked!
  |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
  
    |  |