LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2022, 01:33 PM   #1
IlyaZ
Member
 
Registered: Apr 2004
Posts: 43

Rep: Reputation: 15
Removing physical HDD from spanned Fedora installation


Hey,

I installed Fedora 35 on an ancient computer some time ago. I have 4 drives:

sda 1TB
sdc 200GB
sdd 500GB
sde 120GB

All LUKS, mbr

On setup I installed Fedora on sdc, sdd, sde which are bundled into one label. I kept sda separate for data.

Recently I added sdb 1.5 TB, to a makeshift internal slot. I want to get rid of sde 120 GB (which is mostly is unused space anyway) to put sdb into its slot, and to reduce power consumption.

I don't know if the sdc-sdd-sde span counts as a virtual disk, but somehow I want to exclude sde from that constellation.

- Is there any way to shrink whatever sdc-sdd-sde is to sdc-sdd (there's plenty of space).
- Do I have to clone sdc-sdd-sde (how?) onto sdb (modify fstab, luks- how?), then dismantle the sdc-sdd-sde axis and boot from sdb instead?
 
Old 03-19-2022, 09:35 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
For some-one that has been a member that long, this qualifies as "waving hands in the air". There is zero useful info in that post.

Post all the following - in [code] tabs.
Code:
lsblk -f
cat /etc/fstab
 
Old 03-20-2022, 02:41 AM   #3
IlyaZ
Member
 
Registered: Apr 2004
Posts: 43

Original Poster
Rep: Reputation: 15
Right, here you go:

Code:
lsblk
NAME                 MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
sda                    8:0    0 931.5G  0 disk  
└─sda1                 8:1    0 931.5G  0 part  
  └─luks-7a05f548-611c-4818-a164-3aa9e0b27435
                     253:3    0 931.5G  0 crypt /run/media/i/HD103SI
sdb                    8:16   0   1.4T  0 disk  
└─sdb1                 8:17   0   1.4T  0 part  
  └─luks-4c2975ff-d866-4b5d-9416-4b1e0743cc62
                     253:4    0   1.4T  0 crypt /run/media/i/HD154UI Old Serv
sdc                    8:32   0 186.3G  0 disk  
├─sdc1                 8:33   0     1G  0 part  /boot
└─sdc2                 8:34   0 185.3G  0 part  
  └─luks-b1eebcdb-09e2-4d38-a06b-23f9bab7444d
                     253:1    0 185.3G  0 crypt /var/lib/docker/btrfs
                                                /home
                                                /
sdd                    8:48   0 465.8G  0 disk  
└─sdd1                 8:49   0 465.8G  0 part  
  └─luks-410a561f-6027-4149-82e5-0daf4c17c344
                     253:2    0 465.7G  0 crypt 
sde                    8:64   0 111.8G  0 disk  
└─sde1                 8:65   0 111.8G  0 part  
  └─luks-099eba10-c94f-439d-bf8e-3d974507fdd0
                     253:0    0 111.8G  0 crypt 
sdf                    8:80   0 931.5G  0 disk  
└─sdf1                 8:81   0 931.5G  0 part  
  └─luks-4d03511e-085b-4099-8eba-a94105890323
                     253:5    0 931.5G  0 crypt /run/media/i/Portable
zram0                252:0    0   7.8G  0 disk  [SWAP]

Code:
UUID=663c7570-31bb-48e3-a1ff-781f69b267f4 /                       btrfs   subvol=root,compress=zstd:1,x-systemd.device-timeout=0 0 0
UUID=9ab39b47-17dd-4c3f-94b0-c28d5e23edc8 /boot                   ext4    defaults        1 2
UUID=663c7570-31bb-48e3-a1ff-781f69b267f4 /home                   btrfs   subvol=home,compress=zstd:1,x-systemd.device-timeout=0 0 0
 
Old 03-21-2022, 05:57 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Been a while since I did a full Fedora install. Forgot about them using btrfs now - go to the wiki and get the multi-device page here. If you have enough spare space on the other devices, removing a disk is pretty simple.
 
1 members found this post helpful.
Old 03-21-2022, 01:12 PM   #5
IlyaZ
Member
 
Registered: Apr 2004
Posts: 43

Original Poster
Rep: Reputation: 15
Wonderful, that was exactly what I was looking for. It made sense to let fedora bundle many small HDDs at the time, but didn't know about btrfs.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reducevg on spanned physical disks consty AIX 1 09-30-2006 03:19 AM
ati spanned desktop schneidz Linux - Hardware 1 08-28-2005 11:18 AM
Spanned Display Problem !!?? m_m Linux - Hardware 5 03-03-2003 11:16 AM
Spanned Display ?! m_m Linux - Newbie 5 02-27-2003 01:19 PM
Spanned display for laptops? m_m Linux - Hardware 2 01-08-2003 11:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration