Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
23 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 ...
1
vote
0answers
14 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 ...
0
votes
1answer
57 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 ...
0
votes
0answers
12 views

Where is the LVM area which is not usable by LVM?

pvdisplay reports some portion of the LVM physical volume as not usable. And I need to know where this is located. To my knowledge there are ... a) space which could not be filled with an ...
1
vote
0answers
62 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
52 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
119 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 ...
4
votes
3answers
368 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 ...
2
votes
0answers
68 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 ...
2
votes
0answers
264 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 ...
2
votes
0answers
38 views

SSD seems full, but file system says otherwise [duplicate]

I'm running CentOS and have a 100GB Micron RealSSD P300. It appears that the drive is almost full, as noted by running df: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 ...
3
votes
1answer
157 views

Protecting data against bit rot

I have realized that I need to protect all of my photographs against bit rot (file corruption occurring at random due to errors in hard drives or network transfer). I recently discovered par2 which ...
2
votes
1answer
343 views

Incremental file back up by date

Is there any backup tool that supports partial back up by date? What I mean is that I have some small drives such as on a laptop that can't hold a full copy of all the files on an external 2TB drive. ...
1
vote
1answer
288 views

Multipath to a logical volume in a staging VM

How do I configure multipath in testing VM (purpose is purely academical)? I made new logical volume, modified multipath.conf to be as follows: defaults { udev_dir /dev ...
0
votes
1answer
22 views

Hard Disk Space Shows in One Place, Shows Less in “Computer” Folder?

I have 320 Hard Disk but in the picture in Computer Properties, it says capacity is 45GB. Which is obviously not true.Anyone know why? I don't want to have less storage than I do in real life, I want ...
4
votes
1answer
2k views

Why can I not see some files in my USB stick on Windows that I can see on Linux?

I'm having a little problem with my USB stick. There are files and folders on the USB stick I can see and manipulate on my Linux machine (Fedora 20) but some of those files and folders appear nowhere ...
1
vote
1answer
62 views

How to use one nic for storage traffic & other for network traffic in Linux(Slackware)?

Problem I have a Linux machine (Slackware) with two network interface cards and i want to use one interface for network traffic and other for storage traffic . As this is Slackware i dont know this ...
0
votes
1answer
34 views

Which media to use for backing up data of my laptop? [closed]

I work at home on my laptop installed with Windows 7 & Ubuntu 13.04. I have stopped working on Windows since much time & would continue to work on Linux only. I have all my important data in ...
2
votes
0answers
129 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, ...
1
vote
1answer
151 views

Is it possible to manually manage a Solid State Hybrid Drive?

I'm about to buy a new laptop which has a SSHD. It stands for Solid State Hybrid Drive, which means it has a big, regular HDD with a small, usually 8GB SSD to cache frequently accessed files. Now ...
0
votes
1answer
2k views

What is the effect of rsync --block-size on large files?

I want to backup a few terabytes of large files (500mb to 1500mb each) to a backup server (BULK storage) via rsync. For this I use the following command (updated with suggestions from @Gilles): ...
2
votes
1answer
2k views

Mount exFAT file system as user without hardcoding

I've "solved" the following problem, but not in a desirable way. First, mounting exFAT file systems in Linux was truly as simple as this site says. The catch is, "as long as you are root." A user ...
1
vote
0answers
357 views

I can't find tape device file inside /dev directory

I'm using tape storage drive HP LTO3 1x8 auto-loader which is connected to my server running CentOS. it is detected in CentOS correctly. cat /proc/scsi/scsi Host: scsi2 Channel: 00 Id: 01 Lun: 00 ...
3
votes
1answer
159 views

Something like VMware “Changed Block Tracking” (CBT) in linux

I'm wondering if is there any possibility to track changed blocks in linux with an ext3/ext4 filesystem (or a specific one supporting it). I mean a feture like the Changed Block Tracking (CBT) ...
4
votes
1answer
130 views

Disc light comes on when pressing keys in Iceweasel Preferences? Is this malevolent?

On Linux,I'm using the Iceweasel web browser (it's effectively Firefox), and in Edit/Preferences/General/Startup, when I type a URL into the "Home Page" box, the hard disc light comes on for EVERY ...
1
vote
1answer
506 views

Qlogic HBA issue

We have running server with attached SAN storage and everything was fine. However last week we moved our server blade to a new chassis. Everything is same, we just add new WWN in Brocade SAN switch to ...
0
votes
1answer
144 views

Where does bash store the time commands were executed?

Enabling history to display time via export HISTTIMEFORMAT='%F %T ' shows the times of the commands but .bash_history doesn't contain any times. Where does bash store the times the commands were ...
5
votes
1answer
210 views

Can I make a USB port on my Linux computer look like a mass storage device?

I'm running Kubuntu 12.04 on my PC. I want to make one USB port on my computer appear as if it is a USB mass storage device to other devices. In other words, something connected to this USB port will ...
0
votes
2answers
222 views

Does configuring iscsi target and iscsi initiator in two linux nodes and using ethernet cable for communication make it SAN?

I'm using freeNAS to share an extent via iSCSI to my another Linux box using Ethernet cable. It work as a block storage. So SAN work as a block storage. Now, in my scenario is it working as a NAS or ...
3
votes
1answer
135 views

rsync move files, leave directories?

I'm using rsync to copy data between my internal and external hard drives. It's done what I need, but I'm running out of room on my internal hard drive. So, is there any way to get rsync to function ...
0
votes
3answers
388 views

Software RAID 1 with dissimilar size and performance drives

Background I was experimenting with a home server setup in a small box I had that was supposed to be a media centre but never found much use. I installed CentOS 6.5 in a software RAID1 configuration ...
3
votes
2answers
119 views

Does using full-disk encryption affect the probability of losing data in case of storage errors?

So.. if there is a bad block on the HDD, what can survive better? not using FDE (full disc encryption) using FDE - since the whole disk has "1 partition" - the encrypted one, isn't it more likely to ...
2
votes
0answers
45 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 ...
3
votes
3answers
377 views

How to migrate data from server to server with as little downtime as possible?

I have a server running dovecot using the maildir format with a fairly large userbase (10k users or so) with each user having around a GB quota. The actual mail directories are stored on a separate ...
3
votes
1answer
296 views

How does ZFS grow/scale?

I am wondering how would one design a ZFS system to build something that is massively scalable, along the lines of your favorite cloud storage, but with all the neat benefits the come with ZFS. A ...
1
vote
0answers
113 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 ...
4
votes
2answers
144 views

Can you identify transport via sysfs?

I'm writing a script, and I'm interested in being able to identify the transport class (fc - "fibre channel", scsi, iscsi, etc.) for a given block device. I can retrieve this information via ls -l ...
1
vote
1answer
1k views

Linux EMC scan Lun not working

We have CX4-120 EMC SAN storage, I expend existing LUN size to 20GB but now i am not able to see any cylinder changes on host fdisk -l output. Following command i am running to re-scan my hda or LUN ...
1
vote
2answers
130 views

mknod of content in directory

I would like to create a virtual device from a directory i.e. you know, there's these cloud storage providers like dropbox and co and they generally have a software client and then give you access to ...
3
votes
1answer
2k views

Is it possible to change the sector size of a partition for zfs raidz pool in linux?

I've been migrating a zfs raidz pool on linux to new discs via virtual devices which were sparse files. I've used partitions on the discs as the discs are different sizes of 1.9T each. The last disc ...
0
votes
2answers
335 views

Should I change SSD?

Demsg shows this EXT4-fs error (device sda1): ext4_ext_get_blocks: inode #7743113: (comm flush-8:0) bad extent address iblock: 3503, depth: 1 pblock 0 EXT4-fs (sda1): delayed block allocation failed ...
0
votes
0answers
79 views

Redundant and Load Balanced storage on FreeBSD?

Back from: Load balanced & Redundant Storage on FreeBSD How do I create a (Redundant and Load Balanced) Storage based on FreeBSD? Storage should be located on (2 or more servers) providing ...
2
votes
2answers
97 views

What is a good way of layering zfs filsystems to manage unpredictable future workload that doesn't severely compromise performance?

I've been playing around with ZFS and using sparse files as virtual devices to learn how to use the zfs tools. It seems that there isn't much of a hit in performance by creating a raid pool out of ...
1
vote
1answer
545 views

-bash: /usr/sbin/useradd: Input/output error — What does this mean?

Today, on my Centos server I tried to add a user but got the following error: -bash: /usr/sbin/useradd: Input/output error How do I fix it?
1
vote
1answer
221 views

can linux be configured to blink an LED (GPIO) on disk activity?

I'm hoping to blink an LED that is wired up to a GPIO line whenever the USB connected disk has activity is there an easy way to pull this off?
2
votes
0answers
184 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 ...
3
votes
1answer
325 views

What are potential consequences of going nuts with sparse file based vdevs for a LVM to ZFS migration?

I've been playing around with ZFS having finally accepted that it's mature enough I shouldn't get burned. Now to migrate the home NAS box which is currently an LVM JBOD set up that's quite full, but ...
0
votes
1answer
173 views

Can we create lvm volume group with mapped device?

I can create a lvm volume group with a loop device. But if I use dmsetup to map the loop device into several devices, then I can't create a lvm group with /dev/dm-. Why is it not possible to create ...
0
votes
1answer
1k views

How to open OLE2 Compound Document Storage database?

I have file called Thumbs.db that I seem unable to open with anything. SQLite Database Browser can't do it, nor can LibreOffice Base. Opening up the file properties tells me it's an 'OLE2 Compound ...
2
votes
2answers
861 views

Load balanced & Redundant Storage on FreeBSD [closed]

Did Google for this the last week, still can't find any reasonable solutions for FreeBSD. Most of the articles contain solutions for a fail-over storage only (FreeBSD HAST). This is NOT what I'm ...