Questions tagged [storage]

The tag has no usage guidance, but it has a tag wiki.

75 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
4k views

`crontab -e` sometimes fails with “Creation of temporary crontab file failed”

From time to time crontab -e fails on me on a Ubuntu box. It is the same for all users including the root and crontab -eu <user> under the root. Goes like this on a regular basis, a success here ...
4
votes
2answers
284 views

confused about dd write speed and VFS page cache

After reading some articles on the Linux VFS page cache and the tunable parameters like dirty_ratio i was under the impression that page cache would operate as both read and write caching layer. But ...
3
votes
0answers
295 views

KVM/QEMU hot-replace raw disk

One of VM disks got damaged and I'm trying to replace it online, without rebooting VM. However when I use: drive_add virtio1 file=/dev/sdb,format=raw,if=virtio,cache=none,aio=native in VM monitor ...
3
votes
0answers
135 views

monitoring block access to disk

I am looking for a way to monitor access to disk blocks, and to monitor the access as a bitmap of blocks. I also need the capability to freeze (and queue) the device block access (and also to ...
3
votes
0answers
401 views

Inaccessible USB Mass Storage Device (Bricked Garmin device)

I've got a running GPS watch (Garmin Forerunner 210, fwiw) which recently got bricked during a firmware update. Let's assume for point of discussion that an rma is not possible, so I'd really like to ...
3
votes
0answers
379 views

Reduce cache size of flash storage devices

For various benefits Linux uses a memory cache for writes to removable stogare devices like memory sticks. This cache seems to be quite large on my system, which leads to some annoying behavior. For ...
3
votes
0answers
927 views

How do create an encrypted system with multiple Linux distributions?

A few weeks ago I created a completely encrypted system on a notebook and must say I like the idea. It's a little bit annoying to enter the password on every boot, but it's nice to know even if I lose ...
2
votes
0answers
37 views

Fast way to get size of very large folders

I typically have to deal with folders (which contain subfolders) that are about 1 terabyte in size, and due to storage constraints, I need to remove folders often in order to stay within allotted ...
2
votes
0answers
27 views

Are released blocks logged in the journal for ext4?

Suppose we have a simple case: ext4 file system with journaling a single file named file, which has no other hard links the inode for file has associated with it only 1 data block My understanding ...
2
votes
1answer
69 views

How can I get my photos off of an old cell phone in Linux?

I have an old, non-Android flip phone (Samsung SPH-M400) from about 2012, and I would like to get the photos off of it. The phone is fully functional, but its service is deactivated. I have tried ...
2
votes
3answers
505 views

Merging partitions in Debian

I have recently inherited someone else's problem with a linux server. This is one of those all in one debian based lamp setups. It recently ran out of storage and no one seems to know anything about ...
2
votes
1answer
742 views

Where are Kernel global variables stored?

I am currently writing a Linux kernel module. I am aware that in case of userspace programs, uninitialized global variables (exported to other modules using EXPORT_SYMBOL) are stored in BSS segment ...
2
votes
0answers
43 views

Multipath — Ignoring internal disks

I want to configure multipath such that it ignores all the internal disks and only sees SAN Luns. Any idea how can I achieve that? Basically I want to filter out all the internal disks like IDE, SAS ...
2
votes
0answers
176 views

How to move LVM to new server

The current setup of my server, I have a storage disk array (RAID60) which hold 110TB of data. All the data is stored in multiple volumes created by LVM. Now, I want to upgrade my server with Cent OS ...
2
votes
0answers
501 views

How can I check if sata controller supports hotswap?

Is there a programmatic/generic way to check if sata controller supports howswap? I'd love this question to be generic, so people can apply answer regardless of controller they have. However, in ...
2
votes
0answers
51 views

software-level error detection and correction for raw storage

If I understand data storage correctly, all storage devices are unreliable to some extent, which is why most have hardware-level abstraction layers. Hard drives use error correction. If a sector is ...
2
votes
1answer
357 views

Difference between multipath -ll command and multipath -l command

From the multipath man page http://linux.die.net/man/8/multipath multipath -l shows the current multipath topology from information fetched in sysfs and the device mapper while multipath -ll shows ...
2
votes
1answer
1k views

storage server all nfs users on full 666 file permissions

How can I setup a shared storage location on a storage server shared via CIFS and NFS and all files written by CIFS and all users via NFS to write files and folders with full read/write permissions (...
2
votes
0answers
644 views

Set PERM_WRITE_PROTECT on an SD card

From what I read here and here I gather that there is a bit on SD cards called PERM_WRITE_PROTECT that will allow me to make an SD card read only. Is it possible to set this bit from Linux? If so, ...
2
votes
0answers
88 views

Too large cache causes disks to grind, I/O to drop

This is a followup question to my earlier problem. In short I was experiencing massive I/O drops together with not-so-violent disk grinding, and with help I found out that the big caches were the ...
2
votes
1answer
551 views

Move boot disk on SAN storage on Solaris 10

I'm looking for some infos/official docs/howto for migrating boot disks in a production enviroment server from internal disks to SAN on Solaris 10. It's possible for every kind of hw? It's also ...
2
votes
0answers
67 views

Limiting write rate of a device

How does one go about limiting the write/read rate of a device, E.G., USB drive, SD card? Motivation behind this question is covered here (superuser.com).
1
vote
0answers
11 views

check ssd from udevadm info

I have two peripherals(SSD and USB) connected to my system. Command: lsblk -S Output: NAME HCTL TYPE VENDOR MODEL REV TRAN sda 1:0:0:0 disk ATA xxxxxxxxxxxxxx 023 sata ...
1
vote
1answer
213 views

PVS output not showing drive

I had created physical volume earlier i.e. /backup, /ndasdb, /processor, /latro. Don't know what exactly happened, but /ndasdb is not showing in any of this output result: Pvdisplay, Vgdisplay, and ...
1
vote
0answers
61 views

How to append a new disk to an existing folder

I have a server with a program which rapidly writes data to a folder. I attached a new disk to the server, mounted it and now I want it to expand or replace the folder with data. The program works ...
1
vote
0answers
124 views

How to back up two ZFS pools to a backup pool with regular snapshots and incremental send/recv

I'm running ZFS on my home studio machine. I have two pools: ssdtank - holding the operating system datasets, swap zvol etc. hddtank - holding user data I have a backup USB HDD that I want to use ...
1
vote
0answers
132 views

What is the “~/.stack” directory?

My "~/.stack" directory is taking up 2.5GB and has the following main big directories : 1330 programs/ 877 indices/ 264 snapshots/ What is this "~/.stack" directory ? Can I safely remove ...
1
vote
0answers
43 views

multipath equivalent that doesn't require root privilege

Is there any native tool that can show multipath topology but doesn't need root privileges? Basically the same output as multipath -ll
1
vote
0answers
63 views

How can I reduce the size of my backintime snapshots?

I'm using backintime to create versioned backups of my root partition, and I would ideally like it to be making these snapshots quite often, daily if possible. However each snapshot at the moment is ...
1
vote
0answers
366 views

Ceph for small files?

Currently I have 6 dedicated servers in a data center. Two Servers are Mailservers running exim and dovecot (Maildir) and 4 Webservers. Each Server has two 3TB HDDs. My current problem is, that we ...
1
vote
0answers
239 views

Proxmox hyper-convergence and storage redundancy

What kind of storage redundancy (data blocks at least on two different physical machines) does Proxmox Hyper-Convergence provide? Nutanix does it with a controller VM (CVM), VxRail with VMware vSAN ...
1
vote
0answers
242 views

Why does my system (w/ btrfs, hourly snapshots) “lock up” when cloning large repo or copying many files

Here's my situation. I use btrfs and snapper for its snapshot'ing capabilities. I take hourly snapshots of my work directory and the feature (cd .snapshots/hourly.2 then copying back old work) has ...
1
vote
0answers
139 views

Use from multiple sessions of iSCSI

I have set the configuration file of iSCSI to attempt login at startup. The system creates two session with two different targets. How can I format and mount a particular node using the existing ...
1
vote
0answers
1k views

LUN larger than allowed by the host adapter

We have HP DL-360-g9 server which has HP240 Raid controller and currently we have total 4 disk installed 2 (Mirror) for OS and 2 (1TB) individual disk in LVM group. now we running out of storage and ...
1
vote
0answers
1k views

How to logout from multiple iscsi targets

I want to logout/delete from multiple iscsi targets iscsiadm --mode node --logoutall=all this will delete all the connections present in the system. How do I delete multiple nodes in just one ...
1
vote
1answer
158 views

Linux mint doesn't show all the free space available

I installed Linux mint on my 64gb flashdrive using Rufus, with the default settings according to this guide (ubuntu.com/download/desktop/create-a-usb-stick-on-windows). When I boot into mint, the file ...
1
vote
0answers
150 views

Arch Linux: not able to get to Nokia phone storage

I have a Nokia 230 mobile (basic model). I am using Arch Linux. I was able to connect mobile to my laptop using USB and was able to see the storage files using pcmanfn (file manager). I used to get ...
1
vote
1answer
388 views

Fedora 24 Boots to read only

Ok so I have been researching this problem all day but I have a clean install of fedora 24 server and after installing some virtualization packages and rebooting from the console it boots up with the ...
1
vote
1answer
948 views

bcache not working as expected with ramdisk as cache device

I was trying out bcache but i don't have an SSD so wanted to use free memory as a substitute. As ramdisk is listed in /proc/devices as block device i assumed this would work OK but with below simple ...
1
vote
0answers
53 views

How much control do concrete file systems have over the VFS inode cache and the buffer cache?

I want to make sure I'm understanding how VFS inodes and file system inodes working together. A file system's inodes are stored on the block device and that is where they live. When an operation is ...
1
vote
0answers
392 views

FreeBSD 10.2 - Is three-way HAST replication possible?

I have a pair of FreeBSD 10.2 servers using HAST to keep a volume replicated between them. I'm introducing two new storage nodes that have much newer hardware and will eventually replace the existing ...
1
vote
0answers
115 views

Are partition and volume the same concept?

From Silberschatz's Operating System Concepts A storage device can be used in its entirety for a file system. It can also be subdivided for finer-grained control. For example, a disk can be ...
1
vote
0answers
43 views

Strange: Read Only FS

I am using LFS-based OS onto a 4GB storage device. Everything was working fine for more than 6 months. But suddenly, the storage device itself became Read-Only. No matter, what I do with this storage ...
1
vote
0answers
139 views

Can't install EncFS

I have a 32GB SSD in my laptop and PCManFM 1.2.0 is showing 14.5GB free at the bottom right corner of the screen in the status bar. However, when I try to install an application such as encfs, I get ...
1
vote
0answers
434 views

Unix (NFS Error)- 7320 Storage

I get the following errors on one of my servers: NFS op OP_OPEN got error NFS4ERR_DELAY causing recovery action NR_DELAY NFS op OP_WRITE got error NFS4ERR_STALE causing recovery action NR_STALE NFS4 ...
1
vote
1answer
85 views

To which device file is particular storage device mapped?

I noticed that I never figured this out completely. Linux maps SATA and USB (and many more kind of) storage devices to /dev/sd[a-z] device files in the order in which they were "found". Now given that ...
1
vote
0answers
2k views

extend the storage of a beaglebone black

I've got a beaglebone black rev B (2gb storage) and I want to use it to run owncloud as a self-hosted cloud. The beaglebone comes with 2gb of storage, which means that it has just enough room for the ...
1
vote
1answer
2k views

Can I use fio on a mounted device?

I'm using fio to get some broad read IOPS performance data for various storage configurations like this: fio --name=readiops --filename=/dev/md1 --direct=1 --rw=randread --bs=4k --numjobs=4 --iodepth=...
1
vote
0answers
180 views

Mount an SD card over USB?

I'm currently using: insmod g_file_storage.ko file=/dev/mmcblk0p1 stall=0 removable=1 This works as I can see the device in Windows. However when it comes to changing a file, the changes are not ...
1
vote
0answers
324 views

iSCSI on startup

I've configure iSCSI but CentOS 6.3 is unable to recognize if on startup. Here is fstab config: /dev/sdb1 /home ext4 _netdev 0 0 Here is iscsi.conf ...