Fake external drive
Tofloor
poster avatar
froggo
deepin
2018-12-13 06:33
Author

Hi everyone,

I apologize in advance for the two posts in a row but I have another issue. I reinstalled Deepin 15.8 twice and the issue is still here.
When installing the system I chose to use the whole disk, but in my file explorer and in the dock an external drive named 165GB (which actually appears to be 154GB) appears and cannot be ejected. It does not look like it is a partition since Gparted doesn't show a partition of that size.
I wouldn't mind but it splits my internal storage almost in half on a machine that already does not have a lot of it.

Here is a screenshot of the file manager and Gparted:



Reply Favorite View the author
All Replies
a2035274
deepin
2018-12-13 20:24
#1
本帖最后由 a2035274 于 2018-12-13 19:03 编辑

Do you want to compress the system disk?

Reply View the author
a2035274
deepin
2018-12-13 20:26
#2
本帖最后由 a2035274 于 2018-12-13 19:06 编辑




sudo lvdisplay

  1.   --- Logical volume ---
  2.   LV Path                /dev/ubuntu-vg/root
  3.   LV Name                root
  4.   VG Name                ubuntu-vg
  5.   LV UUID                CVTO9p-gEkW-hoyv-C8K8-4oVl-vBqx-emJ0DT
  6.   LV Write Access        read/write
  7.   LV Creation host, time ubuntu, 2017-10-07 17:29:47 +0800
  8.   LV Status              available
  9.   # open                 0
  10.   LV Size                30.00 GiB
  11.   Current LE             7680
  12.   Segments               1
  13.   Allocation             inherit
  14.   Read ahead sectors     auto
  15.   - currently set to     256
  16.   Block device           253:1
  17.    
  18.   --- Logical volume ---
  19.   LV Path                /dev/ubuntu-vg/swap_1
  20.   LV Name                swap_1
  21.   VG Name                ubuntu-vg
  22.   LV UUID                bCWOM1-vrKU-n8OM-Nzxc-lOtX-qKP0-r1whlF
  23.   LV Write Access        read/write
  24.   LV Creation host, time ubuntu, 2017-10-07 17:30:35 +0800
  25.   LV Status              available
  26.   # open                 2
  27.   LV Size                8.00 GiB
  28.   Current LE             2048
  29.   Segments               1
  30.   Allocation             inherit
  31.   Read ahead sectors     auto
  32.   - currently set to     256
  33.   Block device           253:2
  34.    
  35.   --- Logical volume ---
  36.   LV Path                /dev/ubuntu-vg/ubuntu
  37.   LV Name                ubuntu
  38.   VG Name                ubuntu-vg
  39.   LV UUID                j5KXXW-RSYX-fUxn-HWLn-vee5-3DS7-3fpfJl
  40.   LV Write Access        read/write
  41.   LV Creation host, time ubuntu, 2017-10-07 17:34:21 +0800
  42.   LV Status              available
  43.   # open                 0
  44.   LV Size                32.62 GiB
  45.   Current LE             8351
  46.   Segments               1
  47.   Allocation             inherit
  48.   Read ahead sectors     auto
  49.   - currently set to     256
  50.   Block device           253:3
  51.    
  52.   --- Logical volume ---
  53.   LV Path                /dev/ubuntu-vg/deepin
  54.   LV Name                deepin
  55.   VG Name                ubuntu-vg
  56.   LV UUID                qj4jcu-xYmn-pppM-rzj8-499m-eCP3-7Hj72u
  57.   LV Write Access        read/write
  58.   LV Creation host, time G470, 2018-08-22 13:24:42 +0800
  59.   LV Status              available
  60.   # open                 1
  61.   LV Size                36.00 GiB
  62.   Current LE             9216
  63.   Segments               1
  64.   Allocation             inherit
  65.   Read ahead sectors     auto
  66.   - currently set to     256
  67.   Block device           253:0
  68.    
  69.   --- Logical volume ---
  70.   LV Path                /dev/ubuntu-vg/date
  71.   LV Name                date
  72.   VG Name                ubuntu-vg
  73.   LV UUID                AZVdwh-sTE8-y9BX-jlff-xYiV-YwW1-9tIRO4
  74.   LV Write Access        read/write
  75.   LV Creation host, time G470, 2018-08-22 13:26:59 +0800
  76.   LV Status              available
  77.   # open                 1
  78.   LV Size                284.00 GiB
  79.   Current LE             72704
  80.   Segments               1
  81.   Allocation             inherit
  82.   Read ahead sectors     auto
  83.   - currently set to     256
  84.   Block device           253:4
Copy the Code



Reply View the author
a2035274
deepin
2018-12-13 20:31
#3
本帖最后由 a2035274 于 2018-12-13 19:17 编辑

I did it

  1. sudo deepin-installer-pkexec deepin-installer --conf deepin-installer.conf --auto-install
Copy the Code

https://bbs.deepin.org/post/146432


deepin-installer.conf

This file is located in /etc/


Reply View the author
froggo
deepin
2018-12-14 06:16
#4
Hi and thank you for the help, I really just started on Linux so I'm not 100% sure I got it, what I would like is get rid of this virtual external disk of 154G and only have the system disk with the full available storage.
Reply View the author
a2035274
deepin
2018-12-14 20:18
#5
Reply View the author