Reputation
9,755
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 11 29
Newest
 filesystems
Impact
~825k people reached

Nov
20
comment How can an ISO file be written (copied) to a disc as a single file using wodim?
You mean you don't want to burn the iso image properly so that it is bootable, but just as a normal file?
Nov
19
comment Does my system use all available RAM?
DDR2 ram transfers 4 times per clock, so it is really running at 400 MHz, but effectively that is "1600" when you count the x4 multiplier.
Nov
19
comment Parallelize a Bash FOR Loop
You also might want to add a wait command at the end so the master script does not exit until all of the background jobs do.
Nov
14
answered What is the purpose of listing the rootfs in /etc/fstab?
Nov
14
comment Is “top” accounting for Kernel Interrupts?
I think there are some options in the kernel config for time accounting. The old way was something like it measures using the system timer interrupt, and so other interrupts that come and go between system timer interrupts are missed. The new way uses the high precision processor timestamp registers to accurately account for even short bursts of time spent in interrupt handlers, and then this will be reflected in the system time reported by top.
Nov
14
comment Rezise root partition using other hard disk
@Patrick, reformat and restore from backup is a bit less intrusive than a full reinstall from scratch. It still takes time and work, but you don't have to reinstall all of your applications and reconfigure them. As an alternative ( you should still have a backup ) you can format the new drive for LVM, copy the existing root there in single user mode, reinstall your boot loader to boot the new disk, reboot, then reformat the old disk and add it to the LVM and grow the new disk back into the old one.
Nov
13
comment What is the purpose of listing the rootfs in /etc/fstab?
Pretty much, yea.
Nov
13
comment How do I clone a single drive onto a new RAID 1 array?
@rivanov, maybe redhat is different. On Ubuntu and Debian, you can grub-install /dev/md0, and the partitions on both sda and sdb don't show up since they aren't really valid as it is the raid that is partitioned, not the individual disks. You should also remember though, that raid != backup. For periodic backups, it is best to use tar or dump ( they can do nightly incremental backups ) rather than imaging the whole drive. Raid is not for backup, but to keep the system from going down, even for a minute, in the event of hardware failure.
Nov
13
comment What is the purpose of listing the rootfs in /etc/fstab?
The options are supposed to be used for the remount, so if for instance, fstab says it should stay ro, then it will, and can apply other options, such as quotas or discard. If this isn't the case, then it is a bug.
Nov
13
comment How do I clone a single drive onto a new RAID 1 array?
@rivanov, it should... does parted /dev/md0 print show a partition table?
Nov
12
comment How to avoid namespace collisions/pollution in a script meant to be sourced?
What makes you think you need to use eval? Just call the function.
Nov
12
comment How do I clone a single drive onto a new RAID 1 array?
@rivanov, again, you don't mount the array, you mount a partition on the array. That is, you mount /dev/md0p1 ( assuming partition 1 ), not /dev/md0.
Nov
11
comment How do I clone a single drive onto a new RAID 1 array?
@rivanov, you alredy have partitions on the disk. After you create the raid array out of the disk, the array will then have those partitions.
Nov
10
comment How do I clone a single drive onto a new RAID 1 array?
@rivanov, your disk contains partitions, so you need to mount a partition in the array, not the whole array as if it were just one filesystem.
Nov
10
comment How to redirect the standard input of the `while` instruction on a file?
@Marine1, yes... the < temp simply redirects stdin to read from a file named "temp".
Nov
10
comment How do I clone a single drive onto a new RAID 1 array?
Correct; mdadm will just copy the entire drive, minus its little metadata it puts at the end, over to the new drive. If you then mount the raid, chroot into it, and reinstall grub, it will be configured to boot from the array instead of an individual drive.
Nov
10
answered How do I clone a single drive onto a new RAID 1 array?
Nov
9
answered What is /proc/dma? Is it just for legacy support?
Nov
9
answered How to redirect the standard input of the `while` instruction on a file?
Oct
31
comment Is USB 3.0-to-USB 3.0 data transfer between two Linux OSes possible?
@Gilles, no, as I said usb3 only incorporates the ability for certain controllers to act as either a host or a device, but it is still not a peer to peer protocol: the host drives the clock, and issues the commands, to which the devices are expected to reply.