I’m getting a low disk space error after a fresh install on a 140GB hard drive. During the install I noticed that it didn’t use the max space like Ubuntu does with the alternate disk and set 20GB for the home and 25GB for a root folder. Is there a way I can just use one partition for the file system including the root and home folder and then the swap and encryption on their own?
On 03/08/2011 08:36 PM, DarkSnake-Kobra wrote:
>
> Is there a way I can just use one partition for
> the file system including the root and home folder and then the swap and
> encryption on their own?
please show us the terminal output from
df -h
sudo /sbin/fdisk -l
cat /proc/partitions
cat /etc/fstab
mount
sudo cat /boot/grub/menu.lst
copy/paste the output back to this thread using the instructions here:
http://goo.gl/i3wnr
–
DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11
Yes you can have just a single partition but having a separate home has many many advantages. You simply tell the installer not to create the home partition just like you can tell the Ubuntu installer to create one. But in either case you need to specify all partitions and sizes and where they mount.
The advantage is that you can keep you home personal data and setting even if you decide to change distros reinstall or what ever.
Generally speaking 20 gig should be plenty if it is filling up then chance are you have huge log files that are eating up the space. You need to find the reason. Out of space is just a symptom.
Yes. During the install, you ignore the installer’s proposal and choose to create partition setup (i.e. your own) by clicking on the appropriate radio buttion.
Sorry for the late response. Decided to do a fresh install as I installed somethings that I probably shouldn’t have and tried to remove them, but couldn’t remember what they were.
XXXXXXXXXXXXXXXX@linux-xfhf:~> df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/system-root
20G 3.3G 16G 18% /
devtmpfs 2.0G 272K 2.0G 1% /dev
tmpfs 2.0G 232K 2.0G 1% /dev/shm
/dev/sda1 68M 26M 39M 41% /boot
/dev/mapper/system-home
25G 758M 23G 4% /home
XXXXXXXXXXXXXX@linux-xfhf:~> sudo /sbin/fdisk -l
root's password:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000bc82a
Device Boot Start End Blocks Id System
/dev/sda1 * 1 10 71680 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 10 19458 156217344 8e Linux LVM
Disk /dev/dm-0: 160.0 GB, 159965507584 bytes
255 heads, 63 sectors/track, 19448 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-3 doesn't contain a valid partition table
Disk /dev/sdb: 8000 MB, 8000110592 bytes
144 heads, 3 sectors/track, 36169 cylinders
Units = cylinders of 432 * 512 = 221184 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00049bd7
Device Boot Start End Blocks Id System
/dev/sdb1 5 36168 7811072 b W95 FAT32
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x57db79dd
Device Boot Start End Blocks Id System
/dev/sdc1 1 121602 976759808 7 HPFS/NTFS
XXXXXXXXXXXXX@linux-xfhf:~> cat /proc/partitions
major minor #blocks name
8 0 156290904 sda
8 1 71680 sda1
8 2 156217344 sda2
253 0 156216316 dm-0
253 1 2097152 dm-1
253 2 26214400 dm-2
253 3 20971520 dm-3
8 16 7812608 sdb
8 17 7811072 sdb1
8 32 976762584 sdc
8 33 976759808 sdc1
XXXXXXXXXXXXX@linux-xfhf:~> cat /etc/fstab
/dev/system/swap swap swap defaults 0 0
/dev/system/root / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD1600BEVT-75ZCT1_WD-WXE408E62886-part1 /boot ext4 acl,user_xattr 1 2
/dev/system/home /home ext4 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
XXXXXXXXXXXXX@linux-xfhf:~> mount
/dev/mapper/system-root on / type ext4 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
devtmpfs on /dev type devtmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,mode=1777)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda1 on /boot type ext4 (rw,acl,user_xattr)
/dev/mapper/system-home on /home type ext4 (rw,acl,user_xattr)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
gvfs-fuse-daemon on /home/xxxxxxxxxxxx/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=xxxxxxxxxx)
xxxxxxxxxxxxs@linux-xfhf:~> sudo cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Tue Mar 8 22:21:49 CST 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,0)/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.3 - 2.6.34.7-0.7
root (hd0,0)
kernel /vmlinuz-2.6.34.7-0.7-desktop root=/dev/system/root resume=/dev/system/swap splash=silent quiet showopts vga=0x317
initrd /initrd-2.6.34.7-0.7-desktop
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34.7-0.7
root (hd0,0)
kernel /vmlinuz-2.6.34.7-0.7-desktop root=/dev/system/root showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x317
initrd /initrd-2.6.34.7-0.7-desktop
###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
rootnoverify (fd0)
chainloader +1
On the other responses it’s good to know it’s an option and I understand how the partitioned home folder would be convenient. However, the only options I was given were ether Partitions or LVM with encryption.
Edit: I know where talking about now with the partitions. But I setup encryption which I assume allows the same setup?
You can define partitions as you wish at the install. LVM IMHO is overkill it is meant to allow splicing multiple partitions across multiple drives so you can have an ever expanding virtual space. But you really need to understand it to manage it. But any partitioning scheme requires you have some idea how you want to use it and the advantages and disadvantages of various tech solutions. One size does not fit all. You can set up encryption on LVM or simple partitions But that does add additional complexity and thus higher administration skills.
On 03/09/2011 07:06 AM, DarkSnake-Kobra wrote:
>
> Code:
> --------------------
> XXXXXXXXXXXXXXXX@linux-xfhf:~> df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/mapper/system-root
> 20G 3.3G 16G 18% /
> devtmpfs 2.0G 272K 2.0G 1% /dev
> tmpfs 2.0G 232K 2.0G 1% /dev/shm
> /dev/sda1 68M 26M 39M 41% /boot
> /dev/mapper/system-home
> 25G 758M 23G 4% /home
i tell ya what: your setup is FAR too complicated for me to try to
wade through!
however, i see no “low disk space” problem in the above where you have
lots of room for programs in root (i also have a 20 root partition,
and it is plenty), and you have 23 gigs available in home which is a
lot if you stick to pure text files…sure, you can’t hold many
movies, songs or photos but that is only because you decided to use
all the other space available in other ways…
personally, i would never tie up so much space in an LVM as i’m not
willing to invest the time needed to understand, use and administer it…
–
DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11
Gotcha. It probably is. I like the simplicity rather then defining encryption.
hahah.
Yeah I did a reformat after the first post. Found some link here(I think) on getting a broadcom wireless driver to work which had me install some package and sources. Right after it started coming up. Weird. Anyways it’s fine now. Thanks for the help!
On 03/09/2011 07:36 PM, DarkSnake-Kobra wrote:
>
> Anyways it’s fine now.
with, or without LVM?
with, or without encryption?
> Thanks for the help!
welcome, but i’m not sure we did much other than ask questions
(however, the RIGHT questions to get you thinking a more simple way)
–
DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11