Storage Issue

Not at the computer right now rather pondering this question right now, you see I have put in a new SSD or HDD or whatever with a tb of space I need to wipe whatever was on it but then I want to use it of course!

What would be the best way of doing so? I have an internal storage of about 250 or something split between Linux and windows can I give storage to them directly? Should i move my installs? I want to understand how if one storage would fill up it would automatically just go to the tb
If you really need the Garuda input I can get it but it'll have to be a minute or two

garuda-inxi
System:
Kernel: 5.18.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=0133cd8a-e39e-45cf-ab8c-6e1ee6565d1d rw [email protected]
rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma v: 5.25.1 tk: Qt v: 5.15.5 wm: kwin_x11 vt: 1
dm: SDDM Distro: Arch Linux
Machine:
Type: Laptop System: Dell product: Inspiron 3593 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 0TGVJN v: A00 serial: <superuser required> UEFI: Dell
v: 1.21.0 date: 05/11/2022
Battery:
ID-1: BAT0 charge: 33.6 Wh (100.0%) condition: 33.6/42.0 Wh (79.9%)
volts: 13.1 min: 11.4 model: SWD-ATL3.618 DELL WJPC404 type: Li-ion
serial: <filter> status: full
CPU:
Info: model: Intel Core i3-1005G1 bits: 64 type: MT MCP arch: Ice Lake
built: 2019-21 process: Intel 10nm family: 6 model-id: 0x7E (126)
stepping: 5 microcode: 0xB0
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 160 KiB desc: d-2x48 KiB; i-2x32 KiB L2: 1024 KiB desc: 2x512 KiB
L3: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 2615 high: 3401 min/max: 400/3400 scaling:
driver: intel_pstate governor: performance cores: 1: 2521 2: 3401 3: 2748
4: 1791 bogomips: 9523
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel Iris Plus Graphics G1 vendor: Dell driver: i915 v: kernel
arch: Gen11 process: Intel 10nm built: 2019-21 ports: active: eDP-1
empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:8a56 class-ID: 0300
Device-2: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 1-6:3 chip-ID: 0c45:671e class-ID: 0e02
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
compositor: kwin_x11 driver: X: loaded: intel unloaded: modesetting
alternate: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
s-diag: 414mm (16.31")
Monitor-1: eDP-1 mapped: eDP1 model: AU Optronics 0x607a built: 2019
res: 1366x768 hz: 60 dpi: 102 gamma: 1.2 size: 340x190mm (13.39x7.48")
diag: 394mm (15.5") ratio: 16:9 modes: 1366x768
OpenGL: renderer: Mesa Intel UHD Graphics (ICL GT1) v: 4.6 Mesa 22.1.2
direct render: Yes
Audio:
Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Dell
driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_icl
bus-ID: 00:1f.3 chip-ID: 8086:34c8 class-ID: 0403
Sound Server-1: ALSA v: k5.18.6-zen1-1-zen running: yes
Sound Server-2: JACK v: 1.9.21 running: no
Sound Server-3: PulseAudio v: 16.1 running: yes
Sound Server-4: PipeWire v: 0.3.52 running: no
Network:
Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell
driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000
bus-ID: 01:00.0 chip-ID: 10ec:8136 class-ID: 0200
IF: enp1s0 state: down mac: <filter>
Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
vendor: Dell driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 02:00.0 chip-ID: 168c:0042 class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
IF-ID-1: anbox0 state: down mac: <filter>
Bluetooth:
Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-10:4
chip-ID: 0cf3:e009 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 1.14 TiB used: 84.76 GiB (7.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data
model: IM2P33F3 NVMe 256GB size: 238.47 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 91002105 temp: 32.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD10JPVX-75JC3T0 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
rev: 1A02 scheme: GPT
Partition:
ID-1: / raw-size: 85.78 GiB size: 85.78 GiB (100.00%)
used: 84.7 GiB (98.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
used: 57.4 MiB (22.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 85.78 GiB size: 85.78 GiB (100.00%)
used: 84.7 GiB (98.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 85.78 GiB size: 85.78 GiB (100.00%)
used: 84.7 GiB (98.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 85.78 GiB size: 85.78 GiB (100.00%)
used: 84.7 GiB (98.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.54 GiB used: 4.4 MiB (0.1%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 48.0 C mobo: 31.0 C
Fan Speeds (RPM): cpu: 0
Info:
Processes: 255 Uptime: 8h 22m wakeups: 3 Memory: 7.54 GiB
used: 3.35 GiB (44.5%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1 Packages: pacman: 1920
lib: 528 Shell: fish v: 3.4.1 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.19
Garuda (2.6.3-2):
System install date:     2021-09-05
Last full system update: 2022-06-24
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Timeshift (maybe)
Failed units:            anbox-container-manager.service systemd-networkd-wait-online.service

We really need it :smile:

1 Like

Right well like I said just a moment, I'm already on my way back though I'm not sure what will change! It is on an old post however so if you could perhaps answer the question?

How do you want me to answer you have put in a ssd or hdd ?
Which one ?

Are you going to be on windows or Garuda?

It,s up to you if you know how?

Many questions

1 Like

the i belive ssd but i truly dont remember, it also has an install of garuda and windows in the same manner it was from an old laptop

garuda is the main operating system on the device with a 3rd\4th partition being that of windows
more info in original post

the question was how do i make use of this storage, how do i merge the storage from the internal storage to the new storage device?

so many edits on that lmao, just got back home

do you not know either?

tb?

man fstab
sudo blkid
lsblk -f
2 Likes

You cannot share the data directly (with NTFS) without having some permission issues that can be annoying. Windows doesn't support EXT filesystems. You might be able to use this [experimental] BTRFS driver in Windows via GitHub - maharmstone/btrfs: WinBtrfs - an open-source btrfs driver for Windows. EXFAT is the only FS in common with both operating systems. Decide which OS should be given the storage, or if both should be given some access.

If you want both to access it, you need to use a BTRFS driver so Windows can recognize it, or else use EXFAT.

You can format it with your partition manager of choice. I like GParted.

I agree with @SGS's reply, please show how the disks are currently set up.

5 Likes

I thank you for your response but i do not no how you wish to partition your drives, and of what/how you wish to format your drives ?
As @sgs and @Technetium that is a good place to start providing us some more information for us to help

1 Like

alright ill check out the btrfs driver and reformat the drive wtih gparted

terabyte

sudo blkid
lsblk -f
/dev/nvme0n1p3: PARTLABEL="Microsoft reserved partition" PARTUUID="42ab2001-2e0b-45aa-a52f-ae6172fab255"
/dev/nvme0n1p1: LABEL_FATBOOT="NO_LABEL" LABEL="NO_LABEL" UUID="9CD9-40E7" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="ce52810e-c045-d942-9018-6ed715276bcc"
/dev/nvme0n1p4: BLOCK_SIZE="512" UUID="F4484C71484C34A0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="f83aa1f7-28d1-4333-a77a-3be55c374ba1"
/dev/nvme0n1p2: UUID="0133cd8a-e39e-45cf-ab8c-6e1ee6565d1d" UUID_SUB="6a078318-7ac6-44f6-98db-32cc05a8fa6f" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="root" PARTUUID="9aaaee10-834c-fb4a-844e-c84a2c7fd424"
/dev/sda4: BLOCK_SIZE="512" UUID="706CCC196CCBD84C" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="8de66efc-e967-4d7a-9bd4-a878f5d770b4"
/dev/sda2: UUID="f2c4900a-aaab-477a-acb0-79b7ea439723" UUID_SUB="20dc0fc9-4ff7-40d6-9b98-3222569854b9" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="root" PARTUUID="682abc62-7729-dd40-9e87-c16b94c9b55d"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="d4fb19db-f539-4496-af10-5a341b6a25bb"
/dev/sda1: LABEL_FATBOOT="ESP" LABEL="ESP" UUID="1E9A-E000" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI systempartition" PARTUUID="f963cc63-dd74-4957-9579-fadbff7a8a53"
/dev/zram0: LABEL="zram0" UUID="e7701242-fa93-4134-a865-b120bb065db8" TYPE="swap"
NAME        FSTYPE FSVER LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1      vfat   FAT32 ESP      1E9A-E000
├─sda2      btrfs                 f2c4900a-aaab-477a-acb0-79b7ea439723
├─sda3
└─sda4      ntfs                  706CCC196CCBD84C
zram0                                                                                 [SWAP]
nvme0n1
├─nvme0n1p1 vfat   FAT32 NO_LABEL 9CD9-40E7                             198.6M    22% /boot/efi
├─nvme0n1p2 btrfs                 0133cd8a-e39e-45cf-ab8c-6e1ee6565d1d  733.6M    99% /var/tmp
│                                                                                     /var/log
│                                                                                     /var/cache
│                                                                                     /root
│                                                                                     /srv
│                                                                                     /home
│                                                                                     /
├─nvme0n1p3
└─nvme0n1p4 ntfs                  F4484C71484C34A0
sudo blkid
lsblk -f
/dev/nvme0n1p1: LABEL_FATBOOT="NO_LABEL" LABEL="NO_LABEL" UUID="9CD9-40E7" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="ce52810e-c045-d942-9018-6ed715276bcc"
/dev/nvme0n1p4: BLOCK_SIZE="512" UUID="F4484C71484C34A0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="f83aa1f7-28d1-4333-a77a-3be55c374ba1"
/dev/nvme0n1p2: UUID="0133cd8a-e39e-45cf-ab8c-6e1ee6565d1d" UUID_SUB="6a078318-7ac6-44f6-98db-32cc05a8fa6f" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="root" PARTUUID="9aaaee10-834c-fb4a-844e-c84a2c7fd424"
/dev/sda1: UUID="519d2676-50f7-47b8-8349-d773a5eed8e0" UUID_SUB="4623bf72-2581-488b-b9f9-3f75644f4c9f" BLOCK_SIZE="4096" TYPE="btrfs" PARTUUID="d96de79c-60c6-4422-a87e-e915a9e98779"
/dev/zram0: LABEL="zram0" UUID="e7701242-fa93-4134-a865-b120bb065db8" TYPE="swap"
/dev/nvme0n1p3: PARTLABEL="Microsoft reserved partition" PARTUUID="42ab2001-2e0b-45aa-a52f-ae6172fab255"
NAME        FSTYPE FSVER LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda
└─sda1      btrfs                 519d2676-50f7-47b8-8349-d773a5eed8e0
zram0                                                                                 [SWAP]
nvme0n1
├─nvme0n1p1 vfat   FAT32 NO_LABEL 9CD9-40E7                             198.6M    22% /boot/efi
├─nvme0n1p2 btrfs                 0133cd8a-e39e-45cf-ab8c-6e1ee6565d1d    734M    99% /var/tmp
│                                                                                     /var/log
│                                                                                     /var/cache
│                                                                                     /root
│                                                                                     /srv
│                                                                                     /home
│                                                                                     /
├─nvme0n1p3
└─nvme0n1p4 ntfs                  F4484C71484C34A0

this is what it is after making the edits to the partition and installing the btrfs driver for windows

last response sorry to make this board a mess
ive done everything and ran the command what now?

I guess you can call it a success if Windows is able to read and write files to that disk. It needs to be added to /etc/fstab so it mounts automatically. You should decide how you want it to be added. Take a look at man fstab and btrfs-man5(5) — BTRFS documentation. It looks like the BTRFS Windows driver supports ZSTD compression. Here's an excerpt from fstab on one of my machines, but please don't blindly copy it:

UUID=42424242-4242-4242-4242-424242424242 /mnt/chaotic btrfs rw,async,auto,noatime,dirsync,noautodefrag,commit=30,compress=zstd:3,discard=async,space_cache=v2,ssd,subvolid=5,subvol=/

You can view current mount options with cat /etc/mtab if needed once it's mounted.

2 Likes