@george1421 bingo it’s started fine now
Best posts made by RogerBrownTDL
Latest posts made by RogerBrownTDL
-
Space Issue
I’m having a space issue with my Fog server. I think when i’m deleting images, they are only deleting from the gui and not the box itself? Is there a way to “purge” any remnants?
Output from putty:
root@tie-fogdeploy-01:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 5941224 0 5941224 0% /dev
tmpfs 1197468 1104 1196364 1% /run
/dev/mapper/ubuntu–vg-ubuntu–lv 513396624 326710568 164713068 67% /
tmpfs 5987336 0 5987336 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 5987336 0 5987336 0% /sys/fs/cgroup
/dev/loop1 64896 64896 0 100% /snap/core20/1879
/dev/loop0 64896 64896 0 100% /snap/core20/1852
/dev/loop3 94080 94080 0 100% /snap/lxd/24061
/dev/loop2 94080 94080 0 100% /snap/lxd/23991
/dev/loop4 54528 54528 0 100% /snap/snapd/18933
/dev/loop5 54528 54528 0 100% /snap/snapd/19122
/dev/sda2 1992552 213032 1658280 12% /boot
tmpfs 1197464 0 1197464 0% /run/user/0Dashboard shows
Image list:
Total size of the images is 105.29GB?
-
RE: Ubuntu Help - Boot Problem #N00b
@Sebastian-Roth Thanks friend Legendary!
-
RE: Ubuntu Help - Boot Problem #N00b
@Sebastian-Roth root@tie-fogdeploy-01:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 5.7G 0 5.7G 0% /dev
tmpfs 1.2G 1.1M 1.2G 1% /run
/dev/mapper/ubuntu–vg-ubuntu–lv 490G 86G 384G 19% /
tmpfs 5.8G 0 5.8G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 5.8G 0 5.8G 0% /sys/fs/cgroup
/dev/loop0 92M 92M 0 100% /snap/lxd/23991
/dev/loop4 50M 50M 0 100% /snap/snapd/17950
/dev/loop2 92M 92M 0 100% /snap/lxd/24061
/dev/loop3 64M 64M 0 100% /snap/core20/1778
/dev/loop1 64M 64M 0 100% /snap/core20/1822
/dev/loop5 50M 50M 0 100% /snap/snapd/18357
/dev/sda2 2.0G 207M 1.6G 12% /boot
tmpfs 1.2G 0 1.2G 0% /run/user/0
root@tie-fogdeploy-01:~#
i’m guessing /dev/mapper/ubuntu–vg-ubuntu–lv 490G 86G 384G 19% / means its worked? -
RE: Ubuntu Help - Boot Problem #N00b
@Sebastian-Roth Thanks my friend, snapshot taken in hyper-v and command run… Stupid Q now. How do I check if it’s worked
-
RE: Ubuntu Help - Boot Problem #N00b
@Sebastian-Roth further info print i’ve got if this makes more sense:
root@tie-fogdeploy-01:~# sudo parted /dev/sda unit MiB print
Model: Msft Virtual Disk (scsi)
Disk /dev/sda: 512000MiB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:Number Start End Size File system Name Flags
1 1.00MiB 2.00MiB 1.00MiB bios_grub
2 2.00MiB 2050MiB 2048MiB ext4
3 2050MiB 511999MiB 509949MiBIf the system isnt running, surely I wouldnt be able to do anything, so it needs to be online?
-
RE: Ubuntu Help - Boot Problem #N00b
@Sebastian-Roth So obviously as a Linux noob, I know very little… I’m purely (I know, insert puke emoji here) a Windows Sysadmin. If I understand it correctly the way i’ve got it setup is like having a single big C:\ and all i’m wanting to do is get the entire fog server to see it all rather than just a partition of it… If I follow that command
“lvextend --extents +100%FREE ubuntu-vg/ubuntu-lv --resizefs”
Will it do that so that the full 500gb would be visible and the images stored remain intact? -
RE: Ubuntu Help - Boot Problem #N00b
@lukebarone response: root@tie-fogdeploy-01:~# lvextend -L +398g ubuntu-vg/ubuntu-lv --resizefs
Insufficient free space: 101888 extents needed, but only 101887 available
root@tie-fogdeploy-01:~# -
RE: Ubuntu Help - Boot Problem #N00b
In which case based on the output here:
root@tie-fogdeploy-01:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 ubuntu-vg lvm2 a-- <498.00g <398.00g
root@tie-fogdeploy-01:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
ubuntu-lv ubuntu-vg -wi-ao---- 100.00g
root@tie-fogdeploy-01:~# vgs
VG #PV #LV #SN Attr VSize VFree
ubuntu-vg 1 1 0 wz–n- <498.00g <398.00g
root@tie-fogdeploy-01:~# lvextend -L +398g ubuntu-lv --resizefs
Please specify a logical volume path.
Run `lvextend --help’ for more information.
root@tie-fogdeploy-01:~#Would it be lvextend -L +398g ubuntu-vg --resizefs ?