The tag has no wiki summary.

learn more… | top users | synonyms

23
votes
4answers
21k 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
3k 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
62 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
231 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
67 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
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 ...
10
votes
1answer
5k 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
224 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
2k 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 ...
6
votes
1answer
2k 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 ...
4
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
2k 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
659 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
342 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
228 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
86 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
5k 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
120 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
971 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
435 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
910 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 ...
2
votes
3answers
112 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
114 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
143 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 ( ...
23
votes
4answers
49k 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
435 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 !)
5
votes
3answers
249 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
6k 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 ...