The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
4k views

extending a partition by resize2fs

I have a 4 GB SD card. Before the image load root@ubuntu# fdisk -l Disk /dev/sdb: 3965 MB, 3965190144 bytes 49 heads, 48 sectors/track, 3292 cylinders, total 7744512 sectors Units = sectors of 1 * ...
0
votes
0answers
105 views

Custom Bluetooth Configuration through terminal

I am running a Bluetooth module on my circuit for transmitting data. I want to connect this module to my Linux OS (openSUSE) and read data from it. I want to do custom configs and also custom read ...
1
vote
1answer
316 views

Can you mount UFS partitions made in Solaris (Sparc) on Solaris (x86)?

I am reading about Endianness and it seems both systems save their data differently. Sparc uses big endian and x86 uses small endian, meaning the byte order is different. That makes me wonder... is ...
0
votes
1answer
140 views

Arch installation and swap partition

to install Arch on a PC I have to make partition of the HDD boot swap / The swap is used by virtual memory, right? What's up if I make a too small or a too big swap partition? Could I have as ...
1
vote
1answer
429 views

File access after fsck very slow for first-time access?

My drive started to show up errors, I unmounted it and ran fsck on it. It's a 2TB drive installed on Debian Squeeze, using ext3. The fsck too about 17 hours. I found some, luckily mostly unimportant, ...
2
votes
1answer
232 views

Alix Board write performance

I have an alix board on which I have installed debian4alix (sqeeze). After using it for a while I noticed that the write performance of the board was pretty low. I ran the following test: dd ...
1
vote
0answers
146 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 ...
8
votes
1answer
189 views

How to re-size partitions in a complete hard drive image?

I have taken a complete image of a hard drive using: dd if=/dev/sda of=/home/user/harddriveimg bs=4M It would seem to me, that I should be able to re-size the partitions within it after suitably ...
1
vote
1answer
80 views

Does a return from a shell command guarantee that output files have been written?

I'm building an OSX app and use the screencapture command to grab a screenshot and write it to disk: screencapture -mT0 ~/screenshot.png Can I, if I'm not running a UNIX commands in the background, ...
0
votes
0answers
203 views

Can't format SSD during installation

Last night I tried to install Mandriva Linux on PC, where I have already Windows 7. In PC I've got 2 128GB SSD and 1 2TB HDD. On one SSD I installed Win7, and when I select the other empty SSD for ...
1
vote
2answers
523 views

luxadm disp equivalent for Red Hat?

Is there an equivalent to: luxadm disp *disk* for Red Hat? I need to check that all the device address to the SAN are ONLINE for a certain disk.
3
votes
5answers
11k views

Finding all storage devices attached to a Linux machine

I have a need to find all of the writable storage devices attached to a given machine, whether or not they are mounted. The dopey way to do this would be to try every entry in /dev that corresponds ...
1
vote
1answer
2k views

EMC storage + powercf command + powerpath

When I run powercf -q on my Solaris machine, what changes does this command do on the EMC storage, or on Solaris file system? From manual page: DESCRIPTION During system boot on Solaris hosts, ...
2
votes
2answers
154 views

How to securely export a device (HDD)?

So I have a Scientific Linux 6.3 (RHEL clone so basically the question is Redhat related) machine called "B" (with an extra "A" HDD besides the system HDD) and a notebook with SL 6.3. They are in a ...
2
votes
1answer
402 views

Trapping “READ FPDMA QUEUED”

Recently I encountered a kernel message: ata3.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0 ata3.00: irq_stat 0x40000008 ata3.00: failed command: READ FPDMA QUEUED ata3.00: cmd ...
9
votes
1answer
2k views

Defragmentation of LVM2 logical volumes

Question: Is there a tool supporting de-fragmentation of LVM2 logical volumes ? (Making their extents into consistent sequences) Preferably by defining desired order of extents (something like ...
7
votes
1answer
5k 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 ...
1
vote
1answer
2k 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 ...
1
vote
1answer
333 views

Do I need ephemeral storage?

I was running a small instance on Amazon EC2. I'm trying to migrate it to a micro as it requires very minimal processing power. One thing I just learned though, is that micro instances do not come ...
16
votes
4answers
10k 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" ...
5
votes
3answers
1k views

Resume interrupted copying process

How to resume securely and reliably process of copying file $A into backup location $B done with pv "$A" > "$B" or cat "$A" > "$B" ? (let's assume file $A is very big, e.g. LVM2 snapshot file) ...
2
votes
0answers
57 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).
2
votes
0answers
189 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 ...
0
votes
1answer
60 views

Will SGE output slow down my simulation, if so, how much?

I am using clusters at my university's high performance computing center, they are using SGE system to do the job management. You might know that by default the SGE will output two files: NAME.oXXXXX, ...
1
vote
0answers
130 views

Getting from proficient to expert [closed]

I've got my vacation coming in and thought I might use that for something useful. Essentially, I've been a Linux user since around 1995 when I installed Slackware 2.0 on my computer and have been ...
0
votes
1answer
2k views

Where can I find storage integrity (write/read) test tools?

I am in need of tools to verify data integrity of local harddrives, usb-drives, etc. I am looking for a solution like the famous www.heise.de/download/h2testw or something that is at least common ...
7
votes
1answer
3k views

How can I check the condition of an SD card?

How can I check the health condition of an SD card? When I want to check a hard drive, I can use SMART, how should I check an SD card? Is there a universal approach?
2
votes
1answer
175 views

What is the smallest LVM2 logical volume unit?

Could you ensure me that minimal LVM2 size Unit is one extent to which all sizes are rounded up ? Is 4MiB the default size of extent for LVM2 ? Can it be configurable or is it the only size ? Small ...
6
votes
2answers
962 views

How to properly unplug/plug removable LVM2 device?

How to properly unplug (remove) and later plug (insert) removable (hot-plug, usb etc) storage device with LVM2 on it ? I've found this note Remove (unplug, eject): lvchange -an ...
5
votes
1answer
1k views

Move qcow2 image to physical hard drive

I have a qcow2 image that I use to boot an installation of linux using QEMU; I would like to place the contents of that image directly onto a physical hard drive so that I can boot to that linux ...
3
votes
3answers
2k views

ReFS but for Linux

Microsoft is going to bring a "Resilient FileSystem" with Windows 8, but only for servers. I'd like that on a Linux desktop, but my search reveals no contender. There are so many filesystems for ...
2
votes
1answer
1k views

How should I set up additional EBS storage on an Amazon EC2 instance?

One of my clients has three EC2 servers on the Amazon cloud, with several attached EBS devices: server 1 and server 2 are ubuntu micro instances, and server 3, the main production box, is a ubuntu ...
1
vote
1answer
570 views

Resize a Physical Volume, resize2fs won't work with it

I need to resize my PV so that I could make room for a new partition, /dev/sda7 --> belongs to Volume Group: vg0 vg0 has 23g free space not allocated, so I tried pvresize ...
1
vote
1answer
320 views

is it possible to recover a raid 5 array by using usb enclosures?

I had a RAID 5 (Linux software RAID) server which recently decided not to boot anymore. It seems to be a motherboard problem possibly due to not being protected by a UPS during a power failure. It ...
3
votes
2answers
203 views

Can lvm2 volumes based on device names like sda, sdb etc be mounted if their names change?

Lets say I would like to make a large volume from external usb drives. I create the lvm volume on drives that have been given certain device names sdf sdg or whatever and at some point they are ...
3
votes
1answer
77 views

Is there a more modern or more popular version of evms2?

I've just re-discovered evms having forgotten about it years ago thinking it was overkill for my needs. To my disappointment it appears to be unmaintained and not very well supported anymore. It ...
3
votes
1answer
2k views

How to enable (format) a disk in SunOS then add it to a DiskGroup?

SERVER # vxdisk list DEVICE TYPE DISK GROUP STATUS c1t0d0s2 auto:none - - online invalid c1t1d0s2 auto:none - - ...
6
votes
3answers
4k views

How to resize a VirtualBox HDD image

I initially created a dynamically expanding VirtualBox image, and have tried to increase its hard drive space: VBoxManage modifyhd "VirtualBox VMs/JHBuild/JHBuild.vdi" --resize 16384 After that, I ...
2
votes
1answer
110 views

Running comprehensive speed tests on a drive

I'm wondering if anybody knows of any free packages, scripts or command line tools that can report a comprehensive speed test on a drive (e.g. generating random data, and testing how long it takes to ...
7
votes
5answers
645 views

how do I wipe a server that I don't have physical access to?

I have a Godaddy dedicated server that I would like to cancel. Before I do that I'd like to do a clean format on the server to make sure that the next person who gets the server isn't able to undelete ...
1
vote
1answer
341 views

logical volume, logical disk, volume, partition, physical disk and filesystem

I was wondering how logical volume, logical disk, volume, partition, physical disk and filesystem are related and correspond to each other? I am confused about these concepts and would like to have ...
4
votes
3answers
803 views

slow media - disk cache tuning?

Is there any way to make the system more consistent when using LUKS? (or slow storage in general) as it is everything is snappy until the write buffer is full, then everything grinds to a halt as the ...
3
votes
3answers
109 views

Share unchanging data from a central repository on a network

I have a bunch of different binary files (total size of all files is circa ~500GB) stored in a hard drive that is mounted to machine001. I have 200 other machines that need to access this data for ...
1
vote
0answers
107 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 ...
4
votes
5answers
133 views

How do you layout extra storage

When I was doing dual boot all my extra storage was simple in /win/d, /win//e, /win/f, ... and formated ntfs. Now the desktop only runs Windows in a VM, and I access all my partitions from samba ( ...
15
votes
4answers
26k 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 ...
1
vote
2answers
397 views

Is their a 'friction free' way to convert RAID1 to RAID5?

What's the best way to convert Linux software RAID 1 array to RAID 5? ( I have already bought the 3rd Hard Disc !)
4
votes
3answers
239 views

RAID 1 in linux

I'd like to setup RAID 1 with two drives in linux. I don't have a hardware RAID controller and don't want to buy one, so what is the best software RAID option for linux? Note: If it makes a ...
22
votes
7answers
4k 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 ...