Questions tagged [storage]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
110 views

Azure Ubuntu Partition management

I'm working on an Azure Ubuntu VM root@dalil:/# df -h Filesystem Size Used Avail Use% Mounted on udev 1.7G 8.0K 1.7G 1% /dev tmpfs 345M 392K 344M 1% /run /dev/sda1 ...
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 ...
0
votes
3answers
314 views

Why does reading a device require admin permissions?

I'm trying to create a backup script that saves my thumbdrive as an image. I'm planning on having it automatic. I've always seen the thumbdrive listed as /dev/sdb, and created a script that will save ...
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 ...
0
votes
1answer
312 views

Portable linux with disk-encryption: Which type of storage is better? SD-CARD or USB-STICK

So, as stated above, I mainly address some people, which may have made some experience with a portable os and various storage-types. As we know, the good old HDD are the most durable types of disks. ...
1
vote
1answer
940 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
1answer
479 views

Free and fast NAS software for arm

I own a bananapro computer and I want to set up a NAS on it. I have already tried samba, but I don't like it very much. Is there alternative software for Debian, that would work with Mac? Windows ...
1
vote
1answer
921 views

rsync generating a destination directory of bigger size than source?

We are copying our data from source server to destination server using rsync : rsync -av --progress --sparse user@destination server After rsync, we observed that destination directory is bigger in ...
3
votes
1answer
10k views

Use “tune2fs” on XFS filesystem, get “Couldn't find valid filesystem superblock.”

I ran into this message two days ago=: tune2fs: Bad magic number in super-block while trying to open /dev/vdc1 Couldn't find valid filesystem superblock. The system is Ubuntu, a KVM virtual machine ...
1
vote
1answer
790 views

How replace disks on an existing striped zpool?

I have the following zpool: pool: mypool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM mypool ONLINE 0 ...
3
votes
2answers
550 views

low remaining storage space, how do I increase it?

I keep getting low storage space warnings, I want to increase my total storage space, I was hoping to do that via terminal command, how would I go about doing that? I put in df -h and got: ...
1
vote
0answers
52 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 ...
0
votes
0answers
473 views

FreeNAS zpool not found

Consider me as new in FreeNAS storage. Disk failure on our FreeNAS 8.3 After rebuilding and replacing one disk on the RAID we are unable to access or mount the data. There are 8 X 3TB HDDs on the ...
0
votes
2answers
975 views

What is Memory Technology Device?

Documentation and webpages are not very clear on this. Is it a Linux technology? Is it a type of storage device? Some other questions: If it is a Linux technology, what types of storage does it work ...
0
votes
1answer
464 views

List connected clients to an iscsi target

Is there any way to list the connected clients to an ISCSI target from another client. While sitting on the target itself , it may be easier to see which clients have mounted a particular target , ...
0
votes
3answers
1k views

df -h shows fs size smaller than LV size

I created a LV which it's size is 700MiB . When I mounted the FS, I noticed the df -h shows the filesystem's size is 697MiB. Where did 3MiB go? Could it reserved for the LVM's metadata? The FS is ...
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 ...
0
votes
0answers
24 views

How are the sizes of Linux directories determined? [duplicate]

The results of ls -lh provides, among other things, a listing of subdirectories and their sizes. As the directories' sizes are not determined by the sum of the files within them, how are they ...
0
votes
1answer
853 views

how can I see the uuid of a disk in my system WHEN IS NOT LISTED IN /dev/disk/by-uuid

I have a problem in my system, that I don't understand: there are no disks UUIDs, only partitions UUIDs: ls -al /dev/disk/by-uuid/ total 0 drwxrwxrwx 2 root root 140 Nov 21 20:36 ./ drwxrwxrwx 5 root ...
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 ...
0
votes
1answer
94 views

Migrate to a new vdisk

I have to migrate some data to a new vdisk. But i have no idea how i can do this. The old Vdisk is under /dev/mapper/12345 which is a link to /dev/dm-1 The new Vdisk is under /dev/mapper/67890 which ...
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 ...
0
votes
1answer
71 views

browse local S3 storage (not Amazon) with command line tool

I wish to browse, put and get files in local S3 storage from vendor EMC Atmos Cloud Storage I have a RHEL7 and wish to do it on command line. We have no flat structure (like Amazon) we use ...
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 ...
4
votes
2answers
3k views

Parallel vs Distributed vs Traditional File system

I am trying to understand the differences between these three file system at a very basic level. Distributed FS: HDFS Parallel FS : Lustre Traditional FS : ext4/ext3/ NTFS/FAT etc. I want to ...
2
votes
1answer
17k views

Permission denied when trying to access mounted windows NFS

I am trying to mount an NFS folder that I have set up on a WIN08 server. The NFS is mounting successfully, but I am unable to access it. This is my fstab x.x.x.x:/Music /home/osmc/Music nfs rw,...
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 ...
2
votes
2answers
3k views

Performance of `tar -xf` (block size related)

I'm recently working on optimizing the performance of tar -xf, i.e. untar a file. I notice that under default settings, tar -xf calls writes to write 10 KiB output at a time in chunks. However, this ...
1
vote
1answer
370 views

ZPool export/import error

A backup/clone script of ours was recently ran. It normally only clones the rpool and renames in rpoolA. Something must've changed as it found another one of our pools that it shouldn't have. It ...
2
votes
1answer
954 views

What should I consider when choosing a filesystem for a personal disk archive / cold storage?

I have a few TB of media files that never changes and that I need to store safely. Since it's a personal business it's overkill to set up a disk server et cetera, so I use the simple solution of ...
6
votes
1answer
285 views

How to restore an LVM container to a bigger physical partition?

The setup is an encrypted LVM container/PV that holds a few ext4 partitions. I am moving these to a new machine, but there is more room on the disk. So, I have created a bigger encrypted LVM ...
1
vote
2answers
3k views

How to benchmark memory in an embedded linux device?

Is there a generic utility to benchmark external memory device (eMMC, DDR) throughput on an embedded device (e.g. raspberry pi)? memtester, bonnie, bonnie++, memtest, dd? I've been running into ...
11
votes
3answers
3k views

Ubuntu - No space left on device (NTFS)

I have a server which stores a lot of data, I keep many nested directories with millions of files in them. While trying to move one big directory (~700GB) from one disk to another I get an error: mv ...
1
vote
3answers
199 views

Store stdout and stderr in file, then recreate the output later

I've redirected output to a file like so: $ ./test.bash 2> >(sed 's/^/stderr: /' >> output) > >(sed 's/^/stdout: /' >> output) $ cat output stdout: Hello World! stderr: ...
0
votes
1answer
53 views

Reasons why does the os have only limited information about the layout of data on hard disks

Do someone knows some reasons why the os has only limited informations about the layout of data on hard disks(with regard to locality)?
1
vote
1answer
39 views

Restricting access to an in-use disk on Solaris

I have two identical servers (Running Solaris) connected to a Sun Storedge 3100 through SCSI. I want to make a cluster out of them. The storage will be used to store a database. The Storage works ...
6
votes
1answer
13k views

“Found duplicate PV”

SERVER:~ # pvs Found duplicate PV Wb0b2UTCKtpUtSki0k2NnIB24qNj4CEP: using /dev/mapper/36005076304ffc2500000000000004903 not /dev/mapper/36005076304ffc2990000000000004903 PV ...
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=...
3
votes
1answer
2k views

How limit the storage space for a user?

I want to have a user that can store a limited amount on its account.
5
votes
1answer
957 views

What are the implications of using an inode_ratio of 16384 in terms of storage use on ext4?

I'm assuming that this means that if the average file stored (including directories etc) is less than 16384 bytes, it may be possible to run out of inodes before using the full storage capacity of the ...
5
votes
3answers
34k views

Mount same disk to two linux machines - SAN/NAS

I do not know anything from storage and filesystems that's why i have created this question. I want to mount the same disk to two linux machines and both machine must be able to read/write on the ...
2
votes
1answer
94 views

Ways to store data for command line API

I am developing an API in Unix environment for virtual machines. I have to store some information in a table about virtual machines. Currently I am using python dictionary of virtual machine objects ...
3
votes
0answers
400 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 ...
1
vote
1answer
4k views

Why the size of an empty directory in Linux is 4KB? [duplicate]

I'm using Ubuntu 14.04 and I made an empty directory on /tmp with the mkdir command: cd /tmp mkdir foo and then I checked it's size using ls: ls -ldh foo and the result shows that the size of the ...
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 (...
0
votes
1answer
2k views

Filesystem and mount point

I am confused with which path should I give to store the file. host# df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda2 ...
0
votes
1answer
3k views

Mounting LUN in AIX

I have LUN created and added to AIX, I know this because once I created the LUN and the name I gave in the IBM storage is displayed and also I used the following commands chdev -l hdisk7 -a pv=yes ...
6
votes
3answers
3k views

FreeBSD 10 with Root-on-ZFS using only a part of the disk

I'm having a bit of trouble here. I'll try and be as concise as possible in describing my objective: I'm setting up a storage server for my employer, using two Intel DC S3500 series 120GB solid state ...