Questions tagged [storage]

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

Filter by
Sorted by
Tagged with
73
votes
6answers
86k views

Clear unused space with zeros (ext3,ext4)

How to clear unused space with zeros ? (ext3,ext4) I'm looking for something smarter than cat /dev/zero > /mnt/X/big_zero ; sync; rm /mnt/X/big_zero Like FSArchiver is looking for "used space" ...
3
votes
1answer
3k 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?
18
votes
1answer
9k views

How do pdflush, kjournald, swapd, etc interoperate?

Recently saw a question that sparked this thought. Couldn't really find an answer here or via the Google machine. Basically, I'm interested in knowing how the kernel I/O architecture is layered. For ...
21
votes
4answers
34k views

What is the best practice for adding disks in LVM

According to the Linux manpages you can add raw disks as well as partitions to a volume group. In other documentation (RedHat, CentOS or openSUSE), all examples refer to adding partitions to the VG ...
29
votes
7answers
19k views

How can I use DD to migrate data from an old drive to a new drive?

I am upgrading the internal SATA hard drive on my laptop from a 40G drive to a 160G drive. I have a Linux/Ubuntu desktop which has a SATA card. I would actually like to do the same thing for a couple ...
3
votes
2answers
110 views

Replicating an SD card

BACKGROUND An SD card has been configured for a Raspberry pi. The goal is to replicate the SD card exactly (OS, apps, data) so that the replica will function in a rPi exactly like the original \ ...
11
votes
1answer
19k views

Understand output of `udevadm info -a -n /dev/sdb`

I plug an external HDD into my laptop. I try to find out the information by $ udevadm info -a -n /dev/sdb Udevadm info starts with the device specified by the devpath and then walks up the chain of ...
11
votes
2answers
14k views

Why is sync so important when making a bootable linux usb stick?

From the Arch Linux Wiki: https://wiki.archlinux.org/index.php/USB_flash_installation_media # dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress && sync [...] Do not miss ...
6
votes
2answers
8k 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 ...
8
votes
1answer
1k 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 ...
4
votes
1answer
3k views

Convert a single-drive LVM volume to a striped volume across 3 drives

On my server using LVM, I have a simple linear LV on a single drive (PV). Now, I added 2 more (same size) drives (PVs) to the server. I want to convert my existing linear LV to a striped LV (RAID0 ...
144
votes
10answers
327k views

linux: How can I view all UUIDs for all available disks on my system?

My /etc/fstab contains this: # / was on /dev/sda1 during installation UUID=77d8da74-a690-481a-86d5-9beab5a8e842 / ext4 errors=remount-ro 0 1 There are several other disks on ...
9
votes
2answers
7k views

Clear unused space with zeros (btrfs)

How to clear unused space with zeros ? (I am asking for tool for btrfs filesystem) I'm looking for something smarter than cat /dev/zero > /mnt/X/big_zero ; sync; rm /mnt/X/big_zero Like ...
3
votes
2answers
3k 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 ...
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,...
2
votes
1answer
3k views

GlusterFS replicated volume - mounting issue

I'm running GlusterFS using 2 servers (ST0 & ST1) and 1 client (STC), and the volname is rep-volume. I surfed the net, and read all articles explaining how to fix mounting issues but ...
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 ...
4
votes
1answer
355 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 ...
3
votes
0answers
377 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
1answer
757 views

why resize a PV instead of adding a new PV?

When you increase the size of a an existing block device (eg /dev/sdc was given 20 gigs from vmware, now it has been increased to 40 gigs), you need to do some work for LVM to use the space. All the ...
3
votes
2answers
25k views

Mount exFAT file system as user without specifying /dev/sdX1 in /etc/fstab

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
178 views

How do I determine the make & model of my storage devices? [duplicate]

Possible Duplicate: How do I find out what hard disks are in the system? I'm running a CentOS 5.5 system. This system has 4 disks and a 3ware RAID controller. How can I determine the make and ...
1
vote
2answers
2k views

-bash: cannot create temp file for here-document: Permission denied [duplicate]

This error recently appeared on my Raspberry Pi. I get this error when I try to autocomplete folder paths. It won't autocomplete commands at all. I don't get this error when I'm logged in as root. ...
0
votes
3answers
7k views

Moving space from one partition to another?

I am really uncertain if this is possible or how I would go about fixing this problem. Filesystem Size Used Avail Use% Mounted on udev 14G 12K 14G 1% /dev tmpfs 2.8G ...