Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: In what way (if any) could I modify my partitions to increase space on /home?

  1. #1

    Default In what way (if any) could I modify my partitions to increase space on /home?

    Here is a look at my free space:

    Code:
    calvin@linux-kmee:~> df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sdb6        20G  7.1G   12G  38% /
    devtmpfs        7.9G   32K  7.9G   1% /dev
    tmpfs           7.9G  1.2M  7.9G   1% /dev/shm
    tmpfs           7.9G  5.8M  7.9G   1% /run
    tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
    tmpfs           7.9G  5.8M  7.9G   1% /var/run
    tmpfs           7.9G  460K  7.9G   1% /tmp
    tmpfs           7.9G  5.8M  7.9G   1% /var/lock
    /dev/sdb7        37G   15G   22G  40% /home
    I would like more space on /home. This is how OpenSUSE configured my partitions automatically. Would it be wise to tweak this layout to give me more space on /home?

    Thanks
    Astralogic

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,834

    Default Re: In what way (if any) could I modify my partitions to increase space on /home?

    What you show is usefull (it tells about the size of the file systems and how full they are), but it says nothing about the space on the disk (if there is more then that shown here in use).

    So please show:
    Code:
    su -l -c 'fdisk -l'
    Henk van Velden

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: In what way (if any) could I modify my partitions to increasespace on /home?

    On 2014-03-25 11:56, Astralogic wrote:

    > I would like more space on /home. This is how OpenSUSE configured my
    > partitions automatically. Would it be wise to tweak this layout to give
    > me more space on /home?


    There is nothing in there to take space from. We need to know if there
    is more space on the disk somewhere. So, the output from fdisk that Henk
    suggests, or this one I like:

    Code:
    lsblk --output NAME,FSTYPE,LABEL,UUID,PARTLABEL,PARTUUID,MOUNTPOINT,SIZE
    and please paste it here inside code tags (the '#' button in the forum
    editor). See photo

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  4. #4

    Default Re: In what way (if any) could I modify my partitions to increasespace on /home?

    On 2014-03-25, Astralogic <Astralogic@no-mx.forums.opensuse.org> wrote:
    >
    > Here is a look at my free space:
    >
    >
    > Code:
    > --------------------
    > calvin@linux-kmee:~> df -h
    > Filesystem Size Used Avail Use% Mounted on
    > /dev/sdb6 20G 7.1G 12G 38% /
    > devtmpfs 7.9G 32K 7.9G 1% /dev
    > tmpfs 7.9G 1.2M 7.9G 1% /dev/shm
    > tmpfs 7.9G 5.8M 7.9G 1% /run
    > tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
    > tmpfs 7.9G 5.8M 7.9G 1% /var/run
    > tmpfs 7.9G 460K 7.9G 1% /tmp
    > tmpfs 7.9G 5.8M 7.9G 1% /var/lock
    > /dev/sdb7 37G 15G 22G 40% /home
    >


    The information you provide is helpful, but please also output:

    Code:
    calvin@linux-kmee:~> su -
    linux-kmee:~ # fdisk -l
    linux-kmee:~ # cat /etc/fstab
    linux-kmee:~ # exit

  5. #5

    Default Re: In what way (if any) could I modify my partitions to increase space on /home?

    Code:
    calvin@linux-kmee:~> su -l -c 'fdisk -l'
    Password: 
    
    Disk /dev/sdb: 128.0 GB, 128035676160 bytes, 250069680 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: dos
    Disk identifier: 0xa6533a2b
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1            2048   125036543    62517248    7  HPFS/NTFS/exFAT
    /dev/sdb2       125036544   250068991    62516224    f  W95 Ext'd (LBA)
    /dev/sdb5       125038592   129259519     2110464   82  Linux swap / Solaris
    /dev/sdb6       129261568   171204607    20971520   83  Linux
    /dev/sdb7       171206656   250052607    39422976   83  Linux
    
    Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: dos
    Disk identifier: 0xa6533a37
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048      718847      358400    7  HPFS/NTFS/exFAT
    /dev/sda2          718848   879251456   439266304+   7  HPFS/NTFS/exFAT
    
    Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk label type: dos
    Disk identifier: 0x9ec44f80
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1            2048  3907026943  1953512448    7  HPFS/NTFS/exFAT
    
    Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk label type: dos
    Disk identifier: 0xeb102c3d
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdd1   *        2048  3907026943  1953512448    7  HPFS/NTFS/exFAT
    calvin@linux-kmee:~> lsblk --output NAME,FSTYPE,LABEL,UUID,PARTLABEL,PARTUUID,MOUNTPOINT,SIZE
    NAME   FSTYPE LABEL UUID PARTLABEL PARTUUID MOUNTPOINT                              SIZE
    sda                                                                               465.8G
    ├─sda1                                                                              350M
    └─sda2                                                                            418.9G
    sdb                                                                               119.2G
    ├─sdb1                                      /var/run/media/calvin/Windows          59.6G
    ├─sdb2                                                                                1K
    ├─sdb5                                      [SWAP]                                    2G
    ├─sdb6                                      /                                        20G
    └─sdb7                                      /home                                  37.6G
    sdc                                                                                 1.8T
    └─sdc1                                      /var/run/media/calvin/2nd 2TB Storage   1.8T
    sdd                                                                                 1.8T
    └─sdd1                                      /var/run/media/calvin/2TB Storage       1.8T
    sr0                                                                                1024M
    calvin@linux-kmee:~> linux-kmee:~ # fdisk -l
    If 'linux-kmee:~' is not a typo you can use command-not-found to lookup the package that contains it, like this:
        cnf linux-kmee:~
    calvin@linux-kmee:~> fdisk -l
    Absolute path to 'fdisk' is '/usr/sbin/fdisk', so running it may require superuser privileges (eg. root).
    calvin@linux-kmee:~> su
    Password: 
    linux-kmee:/home/calvin # fdisk -l
    
    Disk /dev/sdb: 128.0 GB, 128035676160 bytes, 250069680 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: dos
    Disk identifier: 0xa6533a2b
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1            2048   125036543    62517248    7  HPFS/NTFS/exFAT
    /dev/sdb2       125036544   250068991    62516224    f  W95 Ext'd (LBA)
    /dev/sdb5       125038592   129259519     2110464   82  Linux swap / Solaris
    /dev/sdb6       129261568   171204607    20971520   83  Linux
    /dev/sdb7       171206656   250052607    39422976   83  Linux
    
    Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: dos
    Disk identifier: 0xa6533a37
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048      718847      358400    7  HPFS/NTFS/exFAT
    /dev/sda2          718848   879251456   439266304+   7  HPFS/NTFS/exFAT
    
    Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk label type: dos
    Disk identifier: 0x9ec44f80
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1            2048  3907026943  1953512448    7  HPFS/NTFS/exFAT
    
    Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk label type: dos
    Disk identifier: 0xeb102c3d
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdd1   *        2048  3907026943  1953512448    7  HPFS/NTFS/exFAT
    linux-kmee:/home/calvin # cat /etc/fstab
    /dev/disk/by-id/ata-SanDisk_SDSSDHP128G_133647402985-part5 swap                 swap       defaults               0 0
    /dev/disk/by-id/ata-SanDisk_SDSSDHP128G_133647402985-part6 /                    ext4       acl,user_xattr,noatime 1 1
    /dev/disk/by-id/ata-SanDisk_SDSSDHP128G_133647402985-part7 /home                ext4       acl,user_xattr,noatime 1 2
    linux-kmee:/home/calvin # exit
    exit
    calvin@linux-kmee:~>
    The format is a bit wonky, but there is no unallocated space on the HD, I wanted to try taking some space from the partitions suse made, I saw some were only like 1% full I so thought they had space to spare.

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: In what way (if any) could I modify my partitions to increasespace on /home?

    On 2014-03-26 12:56, Astralogic wrote:

    > The format is a bit wonky, but there is no unallocated space on the HD,
    > I wanted to try taking some space from the partitions suse made, I saw
    > some were only like 1% full I so thought they had space to spare.


    No, that's RAM. They are tmpfs, they reside on RAM, not disk. So, if you
    want more disk space for Linux, you have to decide from what disk
    partition to take it from.

    You can store some of your home data on another of those Windows
    partitions, and symlink it.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,834

    Default Re: In what way (if any) could I modify my partitions to increase space on /home?

    What is wonky? This is what we asked for.

    As Carlos said. The tmpfs file systems are not on your disk.

    And when you want space, you have to find it by e.g. scratching other partitions. But when you still use that Windows that seems to be on it and you need all those partitions that belong to it, there is nothing.
    Henk van Velden

  8. #8

    Default Re: In what way (if any) could I modify my partitions to increasespace on /home?

    On 2014-03-26, Astralogic <Astralogic@no-mx.forums.opensuse.org> wrote:
    >
    > Code:
    > --------------------
    > calvin@linux-kmee:~> su
    > Password:
    > linux-kmee:/home/calvin # fdisk -l
    >
    > Disk /dev/sdb: 128.0 GB, 128035676160 bytes, 250069680 sectors
    > Units = sectors of 1 * 512 = 512 bytes
    > Sector size (logical/physical): 512 bytes / 512 bytes
    > I/O size (minimum/optimal): 512 bytes / 512 bytes
    > Disk label type: dos
    > Disk identifier: 0xa6533a2b
    >
    > Device Boot Start End Blocks Id System
    > /dev/sdb1 2048 125036543 62517248 7 HPFS/NTFS/exFAT
    > /dev/sdb2 125036544 250068991 62516224 f W95 Ext'd (LBA)
    > /dev/sdb5 125038592 129259519 2110464 82 Linux swap / Solaris
    > /dev/sdb6 129261568 171204607 20971520 83 Linux
    > /dev/sdb7 171206656 250052607 39422976 83 Linux
    >
    > Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
    > Units = sectors of 1 * 512 = 512 bytes
    > Sector size (logical/physical): 512 bytes / 512 bytes
    > I/O size (minimum/optimal): 512 bytes / 512 bytes
    > Disk label type: dos
    > Disk identifier: 0xa6533a37
    >
    > Device Boot Start End Blocks Id System
    > /dev/sda1 * 2048 718847 358400 7 HPFS/NTFS/exFAT
    > /dev/sda2 718848 879251456 439266304+ 7 HPFS/NTFS/exFAT
    >
    > Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
    > Units = sectors of 1 * 512 = 512 bytes
    > Sector size (logical/physical): 512 bytes / 4096 bytes
    > I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    > Disk label type: dos
    > Disk identifier: 0x9ec44f80
    >
    > Device Boot Start End Blocks Id System
    > /dev/sdc1 2048 3907026943 1953512448 7 HPFS/NTFS/exFAT
    >
    > Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
    > Units = sectors of 1 * 512 = 512 bytes
    > Sector size (logical/physical): 512 bytes / 4096 bytes
    > I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    > Disk label type: dos
    > Disk identifier: 0xeb102c3d
    >
    > Device Boot Start End Blocks Id System
    > /dev/sdd1 * 2048 3907026943 1953512448 7 HPFS/NTFS/exFAT
    > linux-kmee:/home/calvin # cat /etc/fstab
    > /dev/disk/by-id/ata-SanDisk_SDSSDHP128G_133647402985-part5 swap swap defaults 0 0
    > /dev/disk/by-id/ata-SanDisk_SDSSDHP128G_133647402985-part6 / ext4 acl,user_xattr,noatime 1 1
    > /dev/disk/by-id/ata-SanDisk_SDSSDHP128G_133647402985-part7 /home ext4 acl,user_xattr,noatime 1 2
    > linux-kmee:/home/calvin # exit
    > exit
    > calvin@linux-kmee:~>
    >
    >
    > --------------------
    >
    >
    > The format is a bit wonky, but there is no unallocated space on the HD,
    > I wanted to try taking some space from the partitions suse made, I saw
    > some were only like 1% full I so thought they had space to spare.


    Thanks for the output. If you are using you're already using all your hard drive space split across Windows and
    openSUSE, I strongly you recommend you don't try to increase the size of /home/ but create a symbolic link within $HOME/
    to access data within your NTFS partitions.

    For example, if you mount your Window's `D' partition in `/windows/D' (which you can do within YaST's partitioner), then
    you can (as regular user):

    Code:
    sh-4.2$ cd ~
    sh-4.2$ ln -sf /windows/D
    sh-4.2$ cd D/
    sh-4.2$ ls
    This approach has three advantages:

    1. Your data storage isn't confined by the size of /home/
    2. Your data is equally accessible from Windows and openSUSE.
    3. You can confidently wipe /home/ upon reinstalls without having to worry about wiping data.


  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,834

    Default Re: In what way (if any) could I modify my partitions to increase space on /home?

    Well, you could do it (as you can do so many things), but I personaly would never use a non-Linux partition type for my data on a Linux system. I would only advice those types of partitions for exchange between different operating systems.

    But it is personal and not everybody has the same ideas about consistancy and security that I have.
    Henk van Velden

  10. #10
    Join Date
    Jun 2008
    Location
    Sogndal, Noreg
    Posts
    1,103

    Default Re: In what way (if any) could I modify my partitions to increase space on /home?

    What about LVM? If he bought a new hard-drive, or had another hd around and available, could he extend his /home partition 'space' using LVM, even if LVM wasn't initially set up on his system?
    OpenSuSE 13.1, KDE 4.11.5, 64bit
    Gigabyte 990FXA-UD3, AMD FX8350, MSI GeForce GTX 760, RME HDSP9632, 16GB HyperX Kingston DDR3, Samsung 840-Pro SSD 128GB, WD Desktop Black 1TB, Hitachi Deskstar 7K1000 750GB

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •