Tagged Questions
2
votes
1answer
39 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 * ...
5
votes
1answer
770 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 ...
8
votes
2answers
2k 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" ...
0
votes
1answer
79 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
402 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 ...
3
votes
1answer
1k 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 - - ...
20
votes
7answers
2k 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 ...