0

I had allocated root account 49G and for my current user 43G on my fedora v.29. Now I found the space for root is seldom used (30%) and my current user's space is almost used up. What steps should I follow to reallocate disk space for both root and current user? or just add some space for current user? There are only two user accounts(root and current user),and running on my own laptop. Thanks.

#fdisk -l
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 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
Disklabel type: dos
Disk identifier: 0x0008ba0b

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048    206847    204800   100M  7 HPFS/NTFS/exFAT
/dev/sda2          206848 286722047 286515200 136.6G  7 HPFS/NTFS/exFAT
/dev/sda3       286722048 288819199   2097152     1G 83 Linux
/dev/sda4       288819200 500117503 211298304 100.8G  5 Extended
/dev/sda5       288821248 500117503 211296256 100.8G 8e Linux LVM
$lsblk
NAME                            MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                               8:0    0 238.5G  0 disk 
├─sda1                            8:1    0   100M  0 part 
├─sda2                            8:2    0 136.6G  0 part 
├─sda3                            8:3    0     1G  0 part /boot
├─sda4                            8:4    0     1K  0 part 
└─sda5                            8:5    0 100.8G  0 part 
  ├─fedora_localhost--live-root 253:0    0    50G  0 lvm  /
  ├─fedora_localhost--live-swap 253:1    0   7.6G  0 lvm  [SWAP]
  └─fedora_localhost--live-home 253:2    0  43.1G  0 lvm  /home

#vgs
  VG                    #PV #LV #SN Attr   VSize   VFree
  fedora_localhost-live   1   3   0 wz--n- 100.75g    0
#lvs
  LV   VG                    Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  home fedora_localhost-live -wi-ao---- <43.13g                                                    
  root fedora_localhost-live -wi-ao----  50.00g                                                    
  swap fedora_localhost-live -wi-ao----   7.62g  

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.