Daniel Leidert: Dear Lazyweb ... why does lshw (still) identify my Linux raid autodetect partition(s) as NTFS volumes?
In a very first attempt, my disk:2 was partitioned and initialized as follows:
/dev/sdc1 1,5TB NTFSThis was later changed to what you can see below and what fdisk correctly reports. These partitions all use the EXT4 file system.
/dev/sdc2 0,5TB EXT4
[..]I'm wondering why lshw and parted shows some of the partitions still being NTFS volumes? Checkout the output below. How can this be fixed? What is missing? Erase some header data?
Device Boot Start End Blocks Id System
/dev/sdb1 2048 524290047 262144000 fd Linux raid autodetect
/dev/sdb2 524290048 3907029167 1691369560 fd Linux raid autodetect
[..]
Device Boot Start End Blocks Id System
/dev/sdc1 2048 524290047 262144000 fd Linux raid autodetect
/dev/sdc2 524290048 3907029167 1691369560 fd Linux raid autodetect
[..]
Model: ATA WDC WD20EFRX-68A (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 268GB 268GB primary raid
2 268GB 2000GB 1732GB primary raid
Model: ATA WDC WD20EFRX-68A (scsi)
Disk /dev/sdc: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 268GB 268GB primary ntfs raid
2 268GB 2000GB 1732GB primary raid
[..]
*-disk:1
description: ATA Disk
product: WDC WD20EFRX-68A
vendor: Western Digital
physical id: 1
bus info: scsi@3:0.0.0
logical name: /dev/sdb
version: 80.0
serial: WD-WCC300354221
size: 1863GiB (2TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 sectorsize=4096
*-volume:0
description: Linux raid autodetect partition
physical id: 1
bus info: scsi@3:0.0.0,1
logical name: /dev/sdb1
capacity: 250GiB
capabilities: primary multi
*-volume:1
description: Linux raid autodetect partition
physical id: 2
bus info: scsi@3:0.0.0,2
logical name: /dev/sdb2
capacity: 1613GiB
capabilities: primary multi
*-disk:2
description: ATA Disk
product: WDC WD20EFRX-68A
vendor: Western Digital
physical id: 2
bus info: scsi@4:0.0.0
logical name: /dev/sdc
version: 80.0
serial: WD-WCC1T0567095
size: 1863GiB (2TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 sectorsize=4096 signature=000a4d07
*-volume:0
description: Windows NTFS volume
physical id: 1
bus info: scsi@4:0.0.0,1
logical name: /dev/sdc1
version: 3.1
serial: 013e-8473
size: 1396GiB
capabilities: primary multi ntfs initialized
configuration: clustersize=4096 created=2013-06-18 06:24:11 filesystem=ntfs label=MEDIA state=clean
*-volume:1
description: Linux raid autodetect partition
physical id: 2
bus info: scsi@4:0.0.0,2
logical name: /dev/sdc2
capacity: 1613GiB
capabilities: primary multi
[..]










Not so much ago, we had a boom of new enterprises offering Massive Online
Open Courses (MOOCs for short).
First were Thrun and Norvig (Artificial Intelligence), with Widom
(Introduction to Databases) and Ng (Machine Learning). Then, these initial
experiments led to the creation of Udacity (founded by Thrun) and Coursera
(founded by Ng and Koller).
I have been keeping an eye on them for some time and, in fact, I have been
contributing to a project similar to
Half a lifetime ago, somewhere at the end of the last millennia I became a free software enthusiast. On and off, I've been working on Free Software for the past fifteen years - most of them unknown, discontinued by now; a huge part of this work was a hobby: small, infrequent contributions. But it was, and still is, something I enjoy doing, something that satisfies my hunger for knowledge, my desire to give back to the community I received so much from. Over the years, what originally started as a desire became a need. What started as a preference, became a requirement. And all through these years, I had a dream, a clear goal I wanted to achieve, which gave purpose to a lot of things I wrote and worked on.This past Monday, the goal was reached. I left the
I previously discussed the
A month ago, a mail hit the
Recent Intel-based systems often implement something called Intel Rapid Start Technology. Like many things with the word "Technology" in the name, there's a large part of this that's marketing. The relatively small amount of
A backup run takes time. During a backup run the live data may
change. This can mean that the snapshot of the live data may
not be internally consistent.
For example, suppose you're writing an e-mail when the backup
starts automatically. If the timing goes wrong in exactly the
right way, the backup might capture both the draft e-mail you
were writing when the backup started, and the sent e-mail, when
you finished the draft and sent the mail before the backup
ended.
Or, worse, the backup might miss both the draft and the sent
e-mail. The next backup run will, certainly, get the sent e-mail,
but what if you have a disaster before that happens?
Internal consistency of data can be quite difficult to achive.
Some programs, such as MySQL, don't do a good job of keeping the
data consistent on-disk, making it difficult for the backup program
to get a proper setup. (In that case, a standard trick is to
"dump" or "export" the data in a consistent form, and back that up
instead.)
In an ideal situation, when the backup starts, the system would have
a way to tell all running programs to store all their state on disk in
a recoverable manner (save all open documents, dump data base content,
etc), and once that is done, the backup program creates a snapshot of
the filesystem. Unfortunately, I don't know of any operating system that
can request consistent state from running applications.
Snapshotting, however, is easy-peasy. It can be achieved by the filesystem
(e.g., btrfs), or using LVM. Doing the snapshots requires root privileges,
but that can probably be arranged. However, snapshotting like this,
without getting all programs to commit their state to disk first, is not
a guarantee of consistency.
A thorough way to be consistent is to shut down the computer, and then
reboot it into a special backup mode (similar to single-user mode),
where no services or applications are running. However, this is, for
most people, much too heavyweight a procedure to be worth it.
Does consistency really matter? It matters a lot when the live data
is being changed actively and consistency of the data is critical. For
example, a bank's database of the amount of money in each account is quite
critical: if data is not backed up consistently, money can be lost or
created spontaneously, and that's probably a bad thing.
Most people, however, don't need to worry a lot, and merely need to
be aware of the issue, and perhaps mitigate it by backing up when the
computer is mostly idle, and run backups often enough.
Oh dear. This blog post contains too few jokes. I seem to have run
out of jokes to make, so that will conclude this series of blog posts.
I hope it was useful to some.
Running a pristine operating system is fun. I keep going to run programs and finding they're not installed!
For example I'd planned to re-deploy the