files > 4GB και γνωστά file systems

Έχω ένα VM (VirtualBox) σε εξωτερικό δίσκο (FAT) το οποίο έφτασε το όριο των 4GB κ έπρεπε να αλλάξω file system στο δίσκο ώστε να μπορεί να αποθηκεύει αρχεία μεγαλύτερα των 4GB.

Δουλεύοντας σε linux, βρήκα σχεδόν ότι χρειάζομαι σε ένα blog :

  • First, I moved all my backups of my home directory that were currently on the drive, and copied them to /tmp on my laptop.
  • Second, I fired up GParted, considering that it is a graphical partitioning tool, that also will format partitions. This proved to be an excellent choice, because it helped me to avoid one pitfall.
    • Considering that the drive was plugged into the USB port, and mounted under /media/My Book, GParted would not let me format the drive until I unmounted it.
    • I used GParted to unmount the drive, and then I selected from the menu “Format to->ext3″.
    • I watched as it automatically changed the partition type to the correct one, and then formatted the partition with the ext3 file system.
    • It completed with no issues, but here is where one of the problems reared its ugly head.
      • After formatting, the drive would no longer auto mount, and show itself on the desktop. I could manually mount it with the mount command, and it was working. I even wrote some files to it just to make sure everything was fine, and it was.
      • The guys on the Fedora Core mailing list were most helpful with this problem.
      • As it turns out, I needed to label the new file system with the e2label utility, which I did with the following command:
        • e2label /dev/sdc1 “My Book”
  • Finally, I moved the backups I put in /tmp back to the drive with the new file system.

Βέβαια στη συνέχεια είχα κάποια προβλήματα με τη διαδικασία της επαναρύθμισης του VM

Αφού μετέφερα το VM file στην θέση που ήθελα, παρότι προσπάθησα μέσα από το πρόγραμμα του VB να του δείξω τη νέα θέση του αρχείου, δεν κατάφερε να δουλέψει γιατί το συγκεκριμένο αρχείο το είχε συνδέσει με άλλη μηχανή όπως έλεγε και με άλλον κωδικό.

Αυτό που έκανα είναι να σβήσω τη μηχανή και να την ξαναφτιάξω από την αρχή δείχνοντας στην νέα θέση του αρχείου. Επίσης από τον φάκελο home/.VirtualBox έσβησα το φάκελο που υπήρχε ήδη μιας κ μου’λεγε ότι υπάρχει ήδη υπολογιστής με το συγκεκριμένο όνομα.

Επίσης αφού εκκίνησα το VM εμφάνιζε προβλήματα εγγραφής στο δίσκο καθώς λέει δεν είχα δικαιώματα. Αυτό που έκανα ήταν να αλλάξω τον ιδιοκτήτη στο συγκεκριμένο partition, φάκελο που περιείχε το αρχείο του VM κ ότι άλλο εκεί μέσα σε root. Στη συνέχεια αν και εξακολουθούσα να τα βλέω ως readonly κ να μην μπορώ να τα αλλάξω, δεν υπήρχε πρόβλημα σε δημιουργεία αρχείων, αποθήκευση κλπ.

Υποβολή απάντησης