<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.bralug.de/wiki-common/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>http://wiki.bralug.de/index.php?action=history&amp;feed=atom&amp;title=Festplatte_mit_Linux_Dateisystem</id>
		<title>Festplatte mit Linux Dateisystem - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.bralug.de/index.php?action=history&amp;feed=atom&amp;title=Festplatte_mit_Linux_Dateisystem"/>
		<link rel="alternate" type="text/html" href="http://wiki.bralug.de/index.php?title=Festplatte_mit_Linux_Dateisystem&amp;action=history"/>
		<updated>2026-04-04T00:53:12Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in BraLUG-Wiki</subtitle>
		<generator>MediaWiki 1.19.1</generator>

	<entry>
		<id>http://wiki.bralug.de/index.php?title=Festplatte_mit_Linux_Dateisystem&amp;diff=7308&amp;oldid=prev</id>
		<title>Engel66: /* Benutzung der Festplatte */</title>
		<link rel="alternate" type="text/html" href="http://wiki.bralug.de/index.php?title=Festplatte_mit_Linux_Dateisystem&amp;diff=7308&amp;oldid=prev"/>
				<updated>2011-02-14T12:07:36Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Benutzung der Festplatte&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Nächstältere Version-&gt;&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 14. Februar 2011, 12:07 Uhr&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 69:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 69:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Wir sehen, das Verzeichnis gehört root und keiner darf darin schreiben ausser root selber. Das werde ich jetzt ändern:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Wir sehen, das Verzeichnis gehört root und keiner darf darin schreiben ausser root selber. Das werde ich jetzt ändern:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;chown engel66:users engel&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;chown engel66:users engel&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Wieder ein ls -l verrät uns: &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;drwxrwx---&amp;#160; 2 engel66 users&amp;#160; &amp;#160; &amp;#160;  4096 2011-02-14 12:58 engel&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Nun kann auch engel66 in das Verzeichnis schreiben. So kann man es auch für andere Benutzer machen, oder man startet die Backups als root, was eh sinnvoll wäre.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;===Backups mit der Platte===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;rsync -avr /home/engel66 /media/backup/engel sollte das machen&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Engel66</name></author>	</entry>

	<entry>
		<id>http://wiki.bralug.de/index.php?title=Festplatte_mit_Linux_Dateisystem&amp;diff=7307&amp;oldid=prev</id>
		<title>Engel66: Die Seite wurde neu angelegt: Kategorie:Tipps und Tricks Kategorie:Hardware  Wer kennt das nicht, eine grosse Festplatte mit vfat Dateisystem wird beim lesen und schreiben immer langsamer un...</title>
		<link rel="alternate" type="text/html" href="http://wiki.bralug.de/index.php?title=Festplatte_mit_Linux_Dateisystem&amp;diff=7307&amp;oldid=prev"/>
				<updated>2011-02-14T12:00:34Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: &lt;a href=&quot;/Kategorie:Tipps_und_Tricks&quot; title=&quot;Kategorie:Tipps und Tricks&quot;&gt;Kategorie:Tipps und Tricks&lt;/a&gt; &lt;a href=&quot;/Kategorie:Hardware&quot; title=&quot;Kategorie:Hardware&quot;&gt;Kategorie:Hardware&lt;/a&gt;  Wer kennt das nicht, eine grosse Festplatte mit vfat Dateisystem wird beim lesen und schreiben immer langsamer un...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Kategorie:Tipps und Tricks]]&lt;br /&gt;
[[Kategorie:Hardware]]&lt;br /&gt;
&lt;br /&gt;
Wer kennt das nicht, eine grosse Festplatte mit vfat Dateisystem wird beim lesen und schreiben immer langsamer und die Dateien dürfen nicht grösser als 2GB sein. Das NTFS Dateisystem machte bis vor kurzem unter Linux auch nur Probleme. Was liegt das näher als ein erprobtes Linux Dateisystem zu nutzen. Meine Wahl fiel auf ext2, alt aber erprobt. &lt;br /&gt;
&lt;br /&gt;
===Die neue Platte===&lt;br /&gt;
Nun habe ich eine neue USB Festplatte erstanden und stecke diese einfach an mein Ubuntu System an. Es öffnet sich automatisch der Nautilus Dateimanager und Zeigt mir das ich die Platte sofort benutzen könnte. Aber ich bin neugierig und schaue erst mal was wir da denn haben.&lt;br /&gt;
&lt;br /&gt;
root@pdm35:/# fdisk -l&lt;br /&gt;
Platte /dev/sdb: 1000.2 GByte, 1000204886016 Byte&lt;br /&gt;
255 Köpfe, 63 Sektoren/Spur, 121601 Zylinder&lt;br /&gt;
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x0b642605&lt;br /&gt;
&lt;br /&gt;
   Gerät  boot.     Anfang        Ende     Blöcke   Id  System&lt;br /&gt;
/dev/sdb1               1      121601   976760001    7  HPFS/NTFS&lt;br /&gt;
&lt;br /&gt;
Die Partitionstabelle zeigt mir eine 1000GB Platte mit NTFS-Dateisystem.&lt;br /&gt;
&lt;br /&gt;
root@pdm35:/# systool -v -b scsi&lt;br /&gt;
Bus = &amp;quot;scsi&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  Device = &amp;quot;11:0:0:0&amp;quot;&lt;br /&gt;
  Device path = &amp;quot;/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host11/target11:0:0/11:0:0:0&amp;quot;&lt;br /&gt;
    delete              = &amp;lt;store method only&amp;gt;&lt;br /&gt;
    device_blocked      = &amp;quot;0&amp;quot;&lt;br /&gt;
    dh_state            = &amp;quot;detached&amp;quot;&lt;br /&gt;
    evt_media_change    = &amp;quot;0&amp;quot;&lt;br /&gt;
    iocounterbits       = &amp;quot;32&amp;quot;&lt;br /&gt;
    iodone_cnt          = &amp;quot;0x273&amp;quot;&lt;br /&gt;
    ioerr_cnt           = &amp;quot;0x0&amp;quot;&lt;br /&gt;
    iorequest_cnt       = &amp;quot;0x273&amp;quot;&lt;br /&gt;
    max_sectors         = &amp;quot;240&amp;quot;&lt;br /&gt;
    modalias            = &amp;quot;scsi:t-0x00&amp;quot;&lt;br /&gt;
    model               = &amp;quot;HDS5C1010CLA382 &amp;quot;&lt;br /&gt;
    queue_depth         = &amp;quot;1&amp;quot;&lt;br /&gt;
    queue_type          = &amp;quot;none&amp;quot;&lt;br /&gt;
    rescan              = &amp;lt;store method only&amp;gt;&lt;br /&gt;
    rev                 = &amp;quot;    &amp;quot;&lt;br /&gt;
    scsi_level          = &amp;quot;3&amp;quot;&lt;br /&gt;
    state               = &amp;quot;running&amp;quot;&lt;br /&gt;
    timeout             = &amp;quot;30&amp;quot;&lt;br /&gt;
    type                = &amp;quot;0&amp;quot;&lt;br /&gt;
    uevent              = &amp;quot;DEVTYPE=scsi_device&lt;br /&gt;
DRIVER=sd&lt;br /&gt;
MODALIAS=scsi:t-0x00&amp;quot;&lt;br /&gt;
    vendor              = &amp;quot;Hitachi &amp;quot;&lt;br /&gt;
&lt;br /&gt;
Aha, eine Hitachi Platte!&lt;br /&gt;
&lt;br /&gt;
===Umbasteln des Dateisystems===&lt;br /&gt;
mit: fdisk /dev/sdb1 &lt;br /&gt;
bearbeite ich das Dateisystem. Ich lösche die NTFS-Partition und lege eine neue Linux Partition an. &lt;br /&gt;
&lt;br /&gt;
mit mke2fs -L backup /dev/sdb1 erzeuge ich das Dateisystem&lt;br /&gt;
mit tune2fs -c0 -i0 /dev/sdb1 setze ich das prüfen des Dateisystems aus&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Benutzung der Festplatte===&lt;br /&gt;
&lt;br /&gt;
Der/Die aufmerksame BeobachterIn wird bemerkt haben, dass ich beim erstellen des Dateisystems das Label backup vergeben habe. Das sagt natürlich aus, dass ich die Platte als Backuplösung für meine Daten verwenden werde. &lt;br /&gt;
Stecke ich nun die Platte als User an mein Ubuntu System an, wird die Platte am Punkt /media/backup eingehängt. Nur kann der User darauf nichts speichern. Abhilfe schafft nur ein Verzeichnis als root erstellt und Userrechte nachträglich vergeben. Nehmen wir also an ich bin der User engel66 und in der Gruppe users (gid 100) geht man als root folgendermassen vor:&lt;br /&gt;
Zuerst gehe ich zum Einhängepunkt der Platte: cd /media/backup&lt;br /&gt;
Dann erstelle ich das Verzeichnis: mkdir engel&lt;br /&gt;
Das sehe ich mir dann mal an: ls -l &lt;br /&gt;
drwxrwx---  2 root       root        4096 2011-02-14 12:58 engel&lt;br /&gt;
Wir sehen, das Verzeichnis gehört root und keiner darf darin schreiben ausser root selber. Das werde ich jetzt ändern:&lt;br /&gt;
chown engel66:users engel&lt;/div&gt;</summary>
		<author><name>Engel66</name></author>	</entry>

	</feed>