LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-22-2016, 03:03 PM   #1
Senathon
LQ Newbie
 
Registered: Aug 2016
Posts: 10

Rep: Reputation: Disabled
Out of Diskspace on 30 Gig?


I am doing the basic LFS with documentation on a VirtualBox with Ubuntu. I have created a share for Ubuntu of 50G and a Vdrive(Dynamiclly) of 30G for LFS.

I am now halfway through Chapter Six on libtools and now I am getting out of disk space.

I ran DF -h and the entire 30G is 100% Use. I removed excess directories and packages and it looks like it does not clear of the space.

When I run nautalis as root, I right click the directory and it says only 2.3 is used.

Have anyone else had the same issue?

Last edited by Senathon; 08-22-2016 at 03:12 PM.
 
Old 08-22-2016, 03:10 PM   #2
Senathon
LQ Newbie
 
Registered: Aug 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
I am at 6.37 Libtools

Filesystem Size Used Avail Use% Mounted on
udev 2.1G 0 2.1G 0% /dev
tmpfs 415M 12M 403M 3% /run
/dev/sda1 49G 11G 36G 23% /
tmpfs 2.1G 316k 2.1G 1% /dev/shm
tmpfs 5.3M 4.1k 5.3M 1% /run/lock
tmpfs 2.1G 0 2.1G 0% /sys/fs/cgroup
tmpfs 415M 95k 415M 1% /run/user/1000
/dev/sr0 59M 59M 0 100% /media/administrator/VBOXADDITIONS_5.1.2_108956
/dev/sdb 33G 33G 0 100% /mnt/lfs
tmpfs 2.1G 8.2k 2.1G 1% /mnt/lfs/run
 
Old 08-22-2016, 03:57 PM   #3
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Hi
I really didn't understand if your issue is in the VM or on the PC hosting the VM (and didn't quite understand what your "share" is nor know what a "dynamic Vdrive" is).
Forgetting about "chapter six" and the Libools version, what did you do (that relates to the issue) and what's your problem?
 
Old 08-23-2016, 05:50 AM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,151

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Virtualbox allows you to create a 'dynamic' drive, that is you specify a max size for the drive but not all the disk space on the host system is allocated to the drive it 'grows' as needed in the host but is effectively fuul size in the client.

As for filling up the drive 30G should be more than enough, sounds like you are not deleting the source folders after building the packages, check that all the completed packages have had there source folders removed.

Please post your version.sh script when asking for help, ubuntu is not the best distro to use for building LFS as it needs some extra packages installed etc before a successful build.
 
1 members found this post helpful.
Old 08-23-2016, 08:36 AM   #5
Senathon
LQ Newbie
 
Registered: Aug 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
I been cleaning the sources directories out of /sources. Currently that directory has only 500 meg. The only files are the tar files.

Version Check.sh:
bash, version 4.3.46(1)-release
/bin/sh -> /bin/dash
ERROR: /bin/sh does not point to bash
Binutils: (GNU Binutils for Ubuntu) 2.26.1
bison (GNU Bison) 3.0.4
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2, Version 1.0.6, 6-Sept-2010.
Coreutils: 8.25
diff (GNU diffutils) 3.3
find (GNU findutils) 4.7.0-git
GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0)
/usr/bin/awk -> /usr/bin/gawk
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
(Ubuntu GLIBC 2.23-0ubuntu3) 2.23
grep (GNU grep) 2.25
gzip 1.6
Linux version 4.4.0-21-generic (buildd@lgw01-21) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016
m4 (GNU M4) 1.4.17
GNU Make 4.1
GNU patch 2.7.5
Perl version='5.22.1';
sed (GNU sed) 4.2.2
tar (GNU tar) 1.28
texi2any (GNU texinfo) 6.1
xz (XZ Utils) 5.1.0alpha
g++ compilation OK


Directory listing of sources:
acl-2.2.52.src.tar.gz kbd-2.0.3-backspace-1.patch
attr-2.4.47.src.tar.gz kbd-2.0.3.tar.xz
autoconf-2.69.tar.xz kmod-22.tar.xz
automake-1.15.tar.xz less-481.tar.gz
bash-4.3.30.tar.gz lfs-bootscripts-20150222.tar.bz2
bash-4.3.30-upstream_fixes-3.patch libcap-2.25.tar.xz
bc-1.06.95-memory_leak-1.patch libpipeline-1.4.1.tar.gz
bc-1.06.95.tar.bz2 libtool-2.4.6
binutils-2.26.tar.bz2 libtool-2.4.6.tar.xz
binutils-2.26-upstream_fix-2.patch linux-4.4.2.tar.xz
bison-3.0.4.tar.xz m4-1.4.17.tar.xz
bzip2-1.0.6-install_docs-1.patch make-4.1.tar.bz2
bzip2-1.0.6.tar.gz man-db-2.7.5.tar.xz
check-0.10.0.tar.gz man-pages-4.04.tar.xz
coreutils-8.25-i18n-2.patch mpc-1.0.3.tar.gz
coreutils-8.25.tar.xz mpfr-3.1.3.tar.xz
dejagnu-1.5.3.tar.gz mpfr-3.1.3-upstream_fixes-2.patch
diffutils-3.3.tar.xz ncurses-6.0.tar.gz
e2fsprogs-1.42.13.tar.gz patch-2.7.5.tar.xz
eudev-3.1.5.tar.gz perl-5.22.1.tar.bz2
expat-2.1.0.tar.gz pkg-config-0.29.tar.gz
expect5.45.tar.gz procps-ng-3.3.11.tar.xz
file-5.25.tar.gz psmisc-22.21.tar.gz
findutils-4.6.0.tar.gz readline-6.3.tar.gz
flex-2.6.0.tar.xz readline-6.3-upstream_fixes-3.patch
gawk-4.1.3.tar.xz sed-4.2.2.tar.bz2
gcc-5.3.0.tar.bz2 shadow-4.2.1.tar.xz
gdbm-1.11.tar.gz sysklogd-1.5.1.tar.gz
gettext-0.19.7.tar.xz sysvinit-2.88dsf-consolidated-1.patch
glibc-2.23-fhs-1.patch sysvinit-2.88dsf.tar.bz2
glibc-2.23.tar.xz tar-1.28.tar.xz
gmp-6.1.0.tar.xz tcl-core8.6.4-src.tar.gz
gperf-3.0.4.tar.gz texinfo-6.1.tar.xz
grep-2.23.tar.xz tzdata2016a.tar.gz
groff-1.22.3.tar.gz udev-lfs-20140408.tar.bz2
grub-2.02~beta2.tar.xz util-linux-2.27.1.tar.xz
gzip-1.6.tar.xz vim-7.4.tar.bz2
iana-etc-2.30.tar.bz2 wget-list
inetutils-1.9.4.tar.xz XML-Parser-2.44.tar.gz
intltool-0.51.0.tar.gz xz-5.2.2.tar.xz
iproute2-4.4.0.tar.xz zlib-1.2.8.tar.xz
 
Old 08-23-2016, 09:20 AM   #6
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,151

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
you have a non complient host check the host prerequists in the book correct those errors ( as shown in the version script output ) then start again.
 
Old 08-28-2016, 03:32 PM   #7
jelle_
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Rep: Reputation: 0
Sounds to me like the vdrive cannot expand. Do you have enough free space on your host operating system?
 
Old 09-07-2016, 12:52 PM   #8
Senathon
LQ Newbie
 
Registered: Aug 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
I am moved from Ubuntu to Slackware. See if there might work better. Choosing solved for now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i use xp sp3 on 2.8 gig pc 2 gig ram ck1nu Linux - Newbie 2 06-28-2012 06:01 PM
gig NIC only connection 100 mbit. Connecting to gig switch. Foldarn Linux - Networking 4 04-03-2009 07:04 PM
4 gig Ram seen as 3 gig ubuntu santana Ubuntu 9 04-09-2008 08:19 AM
How to split a 9 Gig folder in 2x4.5 Gig folders jayhel Slackware 5 08-18-2005 11:36 PM
Why my 80 gig hard drive only shows 70 gig? dsuratman Linux - Newbie 3 11-19-2003 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration