Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Xbian (beta 2) SD Card Full issue
Thank you for your donation

Pages (2): 1 2 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Xbian (beta 2) SD Card Full issue
27th Nov, 2013, 12:19 PM
Post: #1
rizzyc Offline
Registered
Posts: 16
Joined: Oct 2013
Reputation: 0
Xbian (beta 2) SD Card Full issue
My Xbian (new beta 2 version) was constantly freezing on my 4 gig sd card. I decided to install the image on an 8 gig SD card.

However I had my this entire setup (http://www.raspberrypi.org/phpBB3/viewtopic.php?t=47084) with flexget and trakt.tv set up so I didn't want to repeat the whole process so I copied the image of the 4gig installer using Win32 disk imager and transferred it to the 8 gig card.

The pi stopped freezing and has been running for a few days but transmission isn't running because of a space issue.
In Transmission I get this issue
Error: Unable to save resume file: No space left on device


I ran df -h and got this:
Terminal

Filesystem Size Used Avail Use% Mounted on
rootfs 3.5G 3.4G 0 100% /
/dev/mmcblk0p2 3.5G 3.4G 0 100% /
devtmpfs 125M 4.0K 125M 1% /dev
none 25M 452K 25M 2% /run
/dev/mmcblk0p1 34M 14M 21M 40% /boot
/dev/mmcblk0p2 3.5G 3.4G 0 100% /home
/dev/mmcblk0p2 3.5G 3.4G 0 100% /lib/modules
overflow 1.0M 8.0K 1016K 1% /tmp
/dev/mmcblk0p2 3.5G 3.4G 0 100% /xbmc-backup
/dev/sda1 1.4T 94G 1.2T 8% /media/media

My transmission stopped working because of space issues now, although I still have 1.2 T of space left on the HD.

I also get this error when logging in through SSL:
Terminal
xbian@xbian ~ $ sudo su
[sudo] password for xbian:
sudo: unable to write to /var/lib/sudo/xbian/2: No space left on device
If anyone can help figure out what is happening, that would be greatly appreciated.
Find all posts by this user
Quote this message in a reply
27th Nov, 2013, 12:59 PM
Post: #2
crs Offline
Registered
Posts: 45
Joined: Dec 2012
Reputation: 2
RE: Xbian (beta 2) SD Card Full issue
run xbian-config & expand the sd card. Config > Settings > System #7 Resize SD - "Expand root parition to fill SD card"
Find all posts by this user
Quote this message in a reply
27th Nov, 2013, 02:46 PM
Post: #3
rizzyc Offline
Registered
Posts: 16
Joined: Oct 2013
Reputation: 0
RE: Xbian (beta 2) SD Card Full issue
I tried this but it said that this function is disabled. It is supposed to resize automatically on boot but that doesn't seem to happen for me.
Find all posts by this user
Quote this message in a reply
28th Nov, 2013, 02:00 AM
Post: #4
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Xbian (beta 2) SD Card Full issue
I would have a look to see what is using up all the space - 3.7G seems rather a lot. Xbian is only 1G - so 3G is being used somewhere.

Run something like sudo du -a / | sort -n -r | head -n 10 to find the 10 largest files. Maybe some movies or temp files are clogging up the FS.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
28th Nov, 2013, 02:30 AM
Post: #5
rizzyc Offline
Registered
Posts: 16
Joined: Oct 2013
Reputation: 0
RE: Xbian (beta 2) SD Card Full issue
I will have to run this when I get home. Thanks
Find all posts by this user
Quote this message in a reply
28th Nov, 2013, 04:34 AM
Post: #6
rizzyc Offline
Registered
Posts: 16
Joined: Oct 2013
Reputation: 0
RE: Xbian (beta 2) SD Card Full issue
The card is still an 8 gig card, so something seems off, I have a feeling it is because I copied a 4 gig file system to an 8 gig. I think I'll have to just reformat and reinstall flexget and transmission.
Find all posts by this user
Quote this message in a reply
28th Nov, 2013, 11:20 PM
Post: #7
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Xbian (beta 2) SD Card Full issue
If you look at you root partition it is 3.5G 100% utilisation. So something has filled up the card to the 4G partition size.

4G is just unpartitioned i.e not used so can't be seen by the software.

I have a feeling that the resizeFS part of init requires a bit of freespace to work with, so freeing up some space should have everything running as normal.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
29th Nov, 2013, 12:43 AM
Post: #8
rizzyc Offline
Registered
Posts: 16
Joined: Oct 2013
Reputation: 0
RE: Xbian (beta 2) SD Card Full issue
I ended up doing a fresh new install on the 8 gig, I backed up my transmission.json and flexget scripts so it only took about 20 minutes to set it all up. Installing flexget took the longest time.
Find all posts by this user
Quote this message in a reply
29th Nov, 2013, 12:48 AM
Post: #9
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Xbian (beta 2) SD Card Full issue
So what is the size of your root files system now?

df -h

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
29th Nov, 2013, 01:23 AM
Post: #10
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Xbian (beta 2) SD Card Full issue
Please notice that df and btrfs are a bad combination. Use btrfs fi df / instead.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
1st Dec, 2013, 01:28 AM
Post: #11
rizzyc Offline
Registered
Posts: 16
Joined: Oct 2013
Reputation: 0
RE: Xbian (beta 2) SD Card Full issue
I did a clean install and now have the same problem, must be some issue with flex get or transmission although they are all pointing to the external hard drive.

Spoiler (Click to View)
xbian@xbian / $ sudo du -a / | sort -n -r | head -n 10
[sudo] password for xbian:
Sorry, try again.
[sudo] password for xbian:
sudo: unable to write to /var/lib/sudo/xbian/2: No space left on device
du: cannot access `/proc/15183': No such file or directory
du: cannot access `/proc/15186/task/15186/fd/4': No such file or directory
du: cannot access `/proc/15186/task/15186/fdinfo/4': No such file or directory
du: cannot access `/proc/15186/fd/4': No such file or directory
du: cannot access `/proc/15186/fdinfo/4': No such file or directory
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Sorted_1_1SharedPtr__coll__graph.md5': Stale NFS file ha
ndle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Sorted_1_1SharedVec-members.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Sorted_1_1SharedVec.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Sorted__coll__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Sorted__coll__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Take-members.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Take.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Unique-members.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Unique.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1FileSender-members.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1FileSender.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1FileSender__coll__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1FileSender__coll__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1FileSender__inherit__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1FileSender__inherit__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1LevelFilter-members.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1LevelFilter.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1LevelFilter__coll__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1LevelFilter__coll__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1LevelFilter__inherit__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1LevelFilter__inherit__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1NullSender-members.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1NullSender.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1NullSender__coll__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1NullSender__coll__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1NullSender__inherit__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1NullSender__inherit__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1OstreamSender-members.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1OstreamSender.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1OstreamSender__coll__graph.dot': Stale NFS file handle
sort: write failed: /tmp/sort8xaOWD: No space left on device
Find all posts by this user
Quote this message in a reply
1st Dec, 2013, 01:38 AM
Post: #12
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Xbian (beta 2) SD Card Full issue
I have a feeling that something is using a lot of space - probably temp files.
Run something like
Code:
sudo du -a / | sort -n -r | head -n 10
to find the 10 largest files. Maybe some movies or temp files are clogging up the FS.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
1st Dec, 2013, 01:59 AM
Post: #13
rizzyc Offline
Registered
Posts: 16
Joined: Oct 2013
Reputation: 0
RE: Xbian (beta 2) SD Card Full issue
I ran this:
Looks like I don't even have enough space to run the command.

Spoiler (Click to View)
xbian@xbian ~ $ sudo du -a / | sort -n -r | head -n 10
[sudo] password for xbian:
sudo: unable to write to /var/lib/sudo/xbian/2: No space left on device
du: cannot access `/proc/16277': No such file or directory
du: cannot access `/proc/16280/task/16280/fd/4': No such file or directory
du: cannot access `/proc/16280/task/16280/fdinfo/4': No such file or directory
du: cannot access `/proc/16280/fd/4': No such file or directory
du: cannot access `/proc/16280/fdinfo/4': No such file or directory
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Sorted_1_1SharedPtr__coll__graph.md5': Stale NFS file h
ndle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Sorted_1_1SharedVec-members.html': Stale NFS file handl
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Sorted_1_1SharedVec.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Sorted__coll__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Sorted__coll__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Take-members.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Take.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Unique-members.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1list_1_1Unique.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1FileSender-members.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1FileSender.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1FileSender__coll__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1FileSender__coll__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1FileSender__inherit__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1FileSender__inherit__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1LevelFilter-members.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1LevelFilter.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1LevelFilter__coll__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1LevelFilter__coll__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1LevelFilter__inherit__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1LevelFilter__inherit__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1NullSender-members.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1NullSender.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1NullSender__coll__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1NullSender__coll__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1NullSender__inherit__graph.dot': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1NullSender__inherit__graph.md5': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1OstreamSender-members.html': Stale NFS file handle

du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1OstreamSender.html': Stale NFS file handle
du: cannot access `/usr/share/doc/libwibble-dev/html/structwibble_1_1log_1_1OstreamSender__coll__graph.dot': Stale NFS file handle
sort: write failed: /tmp/sortwj713f: No space left on device
Find all posts by this user
Quote this message in a reply
1st Dec, 2013, 02:15 AM
Post: #14
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Xbian (beta 2) SD Card Full issue
(1st Dec, 2013 01:59 AM)rizzyc Wrote:  I ran this:
Looks like I don't even have enough space to run the command.


In future - any output greater than about 10 lines needs to added as a text file, a link to pastbin or the [spoiler] tags inserted.

Well you'll need to free up some space if possible. Remove addons that are no longer required or used (They can be added back at a later stage)

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
1st Dec, 2013, 02:35 AM
Post: #15
rizzyc Offline
Registered
Posts: 16
Joined: Oct 2013
Reputation: 0
RE: Xbian (beta 2) SD Card Full issue
I found this problem, my mistake it was an error in my transmission settings.json
"incomplete-dir": "/home/xbian/incomplete",
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Moving Beta 2 to bigger card Baz8755 17 47,780 16th Jan, 2014 01:04 PM
Last Post: mk01

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 19th May, 2025, 06:29 PM Powered By MyBB, © 2002-2025 MyBB Group.