2022 Developer Survey is open! Take survey.

Questions tagged [storage]

Use this tag to refer to any kind of data retention device (RAM, flash, hard disks, magnetic tape, punch cards, etc.), its means of separating pieces of information (files, blocks, sectors, etc.) or how to record and retrieve them. This is a very broad topic so selecting other tags relating to the medium (hard-drive, cdrom, etc.) or the format used on it (fat, ntfs, ext, f2fs, etc.) may help to identify it further.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

How can i add up unused disk to existing partition folder

I have an unused 1TB HDD and I need to add it to my main storage /dev/sda3, how can I do this without modifying the files on that partition?
user avatar
0 votes
2 answers
20 views

USB connection from display detected as storage device

I have an MSI Optix MAG245R 23.8" display. It features USB connections. When I start up my Debian-based machine (BunsenLabs), I get warnings that say: May 4 19:41:51 localname kernel: [ 240....
user avatar
  • 973
0 votes
0 answers
20 views

Using Raspberry Pi to emulate USB storage for files stored on NAS

Summary I am looking to bridge a NAS file share to a FAT32 "USB Gadget" that can save/load files transparently to the NAS as if the host device was writing them to the USB Storage. Apologies ...
user avatar
  • 1
0 votes
1 answer
39 views

where in the FHS does command less store its buffers?

Using Kubuntu 20.04, which is running from an USB stick. Therefore there is a /cow overlay file system mounted on /. The USB stick has a total capacity of 32 GB, But to the cow overlay file system ...
user avatar
2 votes
1 answer
43 views

In what case(s) will `--type mirror` continue to be a good choice / is not deprecated?

The man page of lvcreate says that the LV type mirror is legacy and lvconvert says "In most cases, the mirror type is deprecated and the raid1 type should be used. They are both implementations ...
user avatar
1 vote
0 answers
28 views

Tool for converting an existing multi-disk LVM to be striped?

I have an existing LVM volume group of 3 disks (same size) with 4 linear LVs. I would like to convert the LVs to be striped across the disks to balance the load on the disks more evenly. Shrinking the ...
user avatar
0 votes
0 answers
50 views

The two SSDs have the same name by-id

There is a single-disk ZFS pool. Now I want to add another ssd to the pool and create a mirror. zpool pool: datapool state: ONLINE scan: scrub repaired 0B in 00:00:03 with 0 errors on Sun Feb 13 ...
user avatar
  • 1
0 votes
0 answers
45 views

Read/Write speed monitor of NFS

I would like to see the disk read/write speeds for a network attached storage drive mounted via NFS. I am copying large amounts of files from a local disk to the network attached drive. running df -h ...
user avatar
  • 101
0 votes
1 answer
65 views

dd faster than it should be

When I run the command dd if=/dev/zero of=tmp.dat bs=1M count=1024 status=progress on a 500G HDD I get 833617920 bytes (834 MB, 795 MiB) copied, 1 s, 829 MB/s 1024+0 records in 1024+0 records out ...
user avatar
0 votes
1 answer
21 views

Does a physical volume need filesystem before extending logical volume with it?

I have an existing logical volume and I want to extend it with newly added physical volume (from separate disk) in the volume group. Before extending the logical volume, is it required to make ...
user avatar
0 votes
0 answers
33 views

Compressing AMD graphics include directory "asic_reg" saves up to 230MB Linux Kernel storage size. Can cloned downloads be partly unpacked by git?

Cloning a current kernel (e.g. 5.17-rc1 ) to a source directory requires around 1.4GB and a total of 2GB (debug kernels up to 4GB) free storage for compiling a default kernel configuration. While AMD'...
user avatar
0 votes
0 answers
71 views

disk space not allocated to part of file system

What specific bash commands must be used to resolve the OSError:: command not found error message shown below by increasing the amount of space that the file system on a RHEL7 VM allocates to a ...
user avatar
  • 5,074
1 vote
0 answers
29 views

Size discrepancy between df -h output and lsblk output [duplicate]

When I run df -h and lsblk, on my Ubuntu 20.04.3 LTS Oracle Cloud instance, there is a discrepancy between sizes of my /dev/sda1 mount. I am not sure if this has to do with GiB vs GB or something else....
user avatar
  • 11
1 vote
1 answer
35 views

df command on Centos/VirtualBox

I'm studing the use of df, when i tried it on centos 7 on my virtualBox, i got this : df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 1.9G 0 1.9G 0% /...
user avatar
  • 15
0 votes
1 answer
109 views

Udev rule refuses to trigger when harddrive is added

I'm on Ubuntu 20.04. I'm trying to execute an action when a specific harddrive is connected using an udev rule identifying the drive using UUID. The script will eventually do a routine where it will ...
user avatar
  • 1
0 votes
1 answer
137 views

-bash: vdo: command not found in centos stream 9

After installing vdo and kmod-kvdo via dnf, the vdo command doesn't work. Systemctl doesn't recognize vdo.service as well. Vdo version: 8.1.0.316 Vdo release: 1.el9.1 I looked everywhere for a ...
user avatar
0 votes
1 answer
96 views

How to get a PCIe Mini-SAS card working in Linux?

I can't seem to get this PICe card working and I can't find any info/drivers about it on the internet. All the SATA HDDs in my server are connected using this card which came with the system. It works ...
user avatar
  • 101
2 votes
0 answers
25 views

LVM Write Stalls When Cache Fills

I'm currently encountering a very perplexing issue with my media server. I have an LV set up with a few disks, and that LV has a write cache attached to it. When the cache isn't full, it works ...
user avatar
0 votes
1 answer
364 views

mkdir gives "No space left on device" message but sudo mkdir works [duplicate]

When I try to use mkdir test in /home/, I get mkdir: cannot create directory ‘test’: No space left on device. I've deleted over 1Gb of files and restarted some processes that were using deleted files, ...
user avatar
0 votes
0 answers
93 views

p-bash: cannot create temp file for here-document: No space left on device

I am facing that ap-bash: cannot create temp file for here-document: No space left on device warning when trying to run basic commands like cd <directory_name> in one of my instances. The weird ...
user avatar
0 votes
1 answer
237 views

What does command do: `badblocks -svn /dev/sda`? does it just report the bad blocks?

This command: badblocks -svn /dev/sda What does it do? Does it just report the bad blocks? Or does it somehow handle the bad blocks so that I don't need to be worried about them? I read the manual by ...
user avatar
  • 1,315
0 votes
3 answers
228 views

Ubuntu Azure Virtual Machine - No Space Left On Device

I am a regular Windows user and from time to time I've developed things on Linux but space and machine was provided to me back then. Now I'm using Microsoft Azure and an Ubuntu Virtual Machine by ...
user avatar
0 votes
1 answer
222 views

Is my hard drive failing? / Need help with smartctl -a output

I have an old Seagate 4TB internal drive from a crapped out pc that I was planning to repurpose as a spare drive for gaming. Figured I'd run some smartctl scans on it first just to be safe so I did ...
user avatar
  • 317
0 votes
1 answer
224 views

How to increase size of storage for centos-root without losing data on it and other disks?

Is there any possible way to take space from centos-home and add it to centos-root or /dev/mapper/root? my storage details: Filesystem Size Used Avail Use% Mounted on devtmpfs ...
user avatar
0 votes
2 answers
87 views

Does a file system also use block storage?

I'm confused about the actual internal workings of a file system. The question is about file storage vs block storage. From what I understand, the difference is in the level at which we access data: ...
user avatar
  • 101
1 vote
1 answer
129 views

How to disconnect/disable MMC SD card

I have non USB MMC/SD reader slot . If a user inserts SD card, I want to be able to disconnect the SD card, or Disable the reader. (in case I detect malicious card). How can I do this? With umount, I ...
user avatar
0 votes
0 answers
26 views

Mounting fails silently, all of a sudden

SO, I got a nice second hdd, mounted on /hdd2 working! But, all of a sudden it stopped working today. When I check with fdisk -l The partition shows (phew0 Disk /dev/sdc: 3.65 TiB, 4000787030016 bytes,...
user avatar
0 votes
0 answers
10 views

Dell PowerEdge R720 need to attach free drives to VMs inside

I have 4 of 6 drives in my Dell PowerEdge R720 available for use (idle). I need 3 block storage devices for my Kubernetes storage cluster. Kubernetes is installed on 3 VirtualBox VMs that run on ...
user avatar
0 votes
0 answers
53 views

How do I set up a JBOD device on Ubuntu using a SAS card

I am running Ubuntu 20.04 LTS server. I have installed a SAS PCI card I purchased from Amazon. The card is active and detected (lspci shows the device). I have installed the appropriate drivers from ...
user avatar
  • 101
0 votes
1 answer
87 views

How to minimize filesystem overhead

I have an application that uses a lot of space as essentially cache data. The more cache available the better the application performs. We're talking hundreds to thousands of TB. The application can ...
user avatar
0 votes
1 answer
375 views

How do I access a Windows Storage Spaces built in Windows 10 on Ubuntu?

Status Update 01/17/22: After 2 months I still have not figured out how to access the storage space from Linux. The kind people over at Superuser didn't seem to know either. There may be a way to do ...
user avatar
  • 1
2 votes
2 answers
101 views

How to tell Debian to buffer USB stick writes more aggressively?

I'm trying to find a way to speed up my IO to/from a USB stick on my Debian system, maybe with some caching. Background: I've written a script that does debootstrap, i.e. installing a Debian system to ...
user avatar
0 votes
1 answer
27 views

WHM / Rearrange an Account

I recently bought another block of storage from my provider and following their guide, I rearranged my accounts to it: sudo mkfs.ext4 /dev/vdb sudo mkdir /mnt/vol-us-1 sudo mount -t ext4 /dev/vdb /...
user avatar
  • 101
1 vote
1 answer
687 views

mkfs error: /dev/nvme0n1 apparently in use by the system; will not make a filesystem here

I added a nvme storage device to a Dell 7820 workstation (alias: new-machine). The storage device was used in another server (alias: old-machine) and it seems like it was configured as RAID. Anyway I ...
user avatar
0 votes
0 answers
140 views

How to transfer root system volume /dev/vda1 to /dev/sda (LVM)

How to transfer root system volume /dev/vda1 to /dev/sda (LVM). CMD: df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 1.8G 0 1.8G 0% /dev tmpfs 1.9G 36K 1.9G ...
user avatar
0 votes
0 answers
30 views

Corrupt sd card is seen by gnome-disks, but can't format

Somehow I can see the sd-card in gnome-disks as /dev/sda, but it won't show up in gparted. In gnome-disks it shows as a mass storage device with no media, or size, and it won't allow me to edit ...
user avatar
3 votes
3 answers
227 views

Pooling storage across multiple devices?

Is it possible to pool storage across multiple (eg.) Raspberry Pi's into one store? For a simple example, say I have 12 Pi's, each Pi has 1TB of on a USB. Can I make a single storage on the network (...
user avatar
0 votes
0 answers
122 views

Mounting a MacOS partition labelled 'Apple Core Storage' fails

This process goes wrong for me right at the end: apfs-fuse /dev/$diskpart $mountpoint. sda2 is the Mac partition, MacOS exists in the media folder. I use sudo apfs-fuse /dev/sda2 /media/MacOS I just ...
user avatar
0 votes
0 answers
57 views

Are direct writes to block devices buffered? How do I ensure it's written to disk before removing it?

Say I do something like dd if=file of=/dev/sdc (simplified for illustration), is this buffered? Can I sync it like I would any other filesystem write, or do I need to do something else to make sure ...
user avatar
  • 293
0 votes
1 answer
85 views

/root partition is filled up

Recently, my EndeavourOS install has been sending me a notification saying that my root filesystem was filled up, with 0 MiB remaining. What could be done to clean up the root system? Output of sudo ...
user avatar
  • 113
1 vote
0 answers
181 views

How can I extend the root storage with a SD card?

I am working on a device that runs Ubuntu. It has small storage capacity, this is the output of the df -h bash command: Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p1 28G 25G 1,...
user avatar
  • 39
1 vote
0 answers
29 views

Is it possible to mount an ATA over Ethernet (AOE) block device on multiple clients, if so how?

I have a lab consisting of 3 machines connected with 2 10gbe links on 2 segregated networks. Each device has 100tb in block storage connected to it. I want to use ATA over Ethernet to create a storage ...
user avatar
  • 111
0 votes
1 answer
44 views

Unknown usage of HDD Space

I have a VPS with CentoS 7 that is robbing me of 68GB of space. My server has 160GB of storage. It says it is using 120GB. But my server should only be using about 50GB - 65Gb. I found that there is a ...
user avatar
0 votes
0 answers
12 views

Cant use space from a mounted disk in a debian GCP VM

I mounted a SD disk to my Google cloud VM running debian 11. It' mounted on /mnt, and it has 100gb of free space. But when i try to install anything in the VM, it says i dont have free space. Somehow ...
user avatar
1 vote
1 answer
128 views

How i get free disk space storage?

I am a new linux user and I have to install some packages that required me about 14GB storage. How can I find out my storage? My device is a Nvidia Jetson TX2 that runs Ubuntu OS.
user avatar
  • 39
0 votes
0 answers
75 views

Gnome-Boxes VM is using more space than allocated

So I have an interested problem, I created a Windows 10 VM a few weeks ago to run a crypto validation node. I set it to use 4GB of RAM and 50GB of HDD. Fast forward to today and I got an alert that my ...
user avatar
  • 111
0 votes
0 answers
46 views

rsync causing file and directory size of 1MB

I am trying to backup data using rsync. Specifically, I am trying to transfer data from a 1TB SSD + 2TB HDD into a 4TB HDD, but halfway through the transfer the destination disk runs out of space ...
user avatar
0 votes
1 answer
36 views

dd command took alot of disk space when just coping open file from file descriptor

I have more than 30 qemu-kvm process open with different images. Their images where accidentally deleted. I searched and i found out that as the file is still open in a process. It can be still ...
user avatar
  • 3
1 vote
2 answers
47 views

Comparing two directories based on inodes

A bit of context that I think is relevant for the appropriate solution: I have a server that has two folders; one is ingest, the other is sorted. The source of the sorted folder is the ingest folder, ...
user avatar
  • 111
0 votes
1 answer
936 views

fdisk: Default partion type "Linux filesystem"

I am using CentOS 8 and added two nvme storage disks, which I want to configure in RAID1 mirror. Following is lsblk output: [root@localhost ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT ...
user avatar
  • 1,641

1
2 3 4 5
9