Tag: ram as disk

Wie RAM (physische) als Festplatte nutzen

Wie RAM (physische) als Festplatte nutzen

Einführung –
Irgendwann um die Leistung zu gewinnen, können physikalische RAM als Speicherplatz, was sehr schnell ist, zu vergleichen, um normale Festplatte genutzt werden.
Also, wie kann ich RAM zu verwenden ist Festplatte? Gehen Sie durch diese Schritte.

Schritt 1) ​​Verzeichnis erstellen, wie unten dargestellt, wo Sie den RAM als Festplatte mounten wollen

root @ arunbagul: ~ # mkdir-p / tmp / ram
root @ arunbagul: ~ # ls / tmp / ram
root @ arunbagul: ~ #

Schritt 2) RAM Mount dh tmpfs bei Mountpoint “/ tmp / ram”-Verzeichnis

root @ arunbagul: ~ # mount-t tmpfs-o size = 10M tmpfs / tmp / ram /

* Überprüfen montiert auf nicht?

root @ arunbagul: ~ # df-h
Dateisystem Größe Benut Verf Ben% montiert auf
tmpfs 10M 0 10M 0% / tmp / ram

**, Um diese dauerhaft Add-Eintrag in / etc / fstab mounten, wie unten dargestellt.

root @ arunbagul: ~ # cat / etc / fstab

….

tmpfs / tmp / ram tmpfs defaults, size = 10m 0 0

root @ arunbagul: ~ #

– Zur Montage dieser Nutzung Befehl mount (damit werden alle Mount-Punkte in fstab mounten erwähnt)

root @ arunbagul: ~ # mount-a

Thank you,
Arun Bagul

Comment utiliser de la RAM (physique) en tant que disque

Comment utiliser de la RAM (physique) en tant que disque

introduction –
Parfois, pour gagner en performance, mémoire physique peut être utilisé comme espace disque qui est très rapide de comparer sur le disque dur normal.
Alors, comment je peux utiliser de la RAM est un disque? passer par ces étapes.

Étape 1) Créer un répertoire comme le montre ci-dessous où vous voulez monter la RAM comme disque

root @ arunbagul: ~ # mkdir-p / tmp / ram
root @ arunbagul: ~ # ls / tmp / ram
root @ arunbagul: ~ #

Étape 2) de montage RAM c.-à-tmpfs au point de montage “/ tmp / ram” répertoire-

root @ arunbagul: ~ # mount-t tmpfs-o size = tmpfs 10M / tmp / ram /

* Vérification de la montée sur pas?

root @ arunbagul: ~ # df-h
Système de fichiers Taille% Utilisé utilisation Avail Monté sur
tmpfs 10M 10M 0 0% / tmp / ram

** De monter cette entrée définitivement ajouter dans / etc / fstab comme indiqué ci-dessous.

root @ arunbagul: ~ # cat / etc / fstab

….

tmpfs / tmp / ram par défaut tmpfs, size = 10m 0 0

root @ arunbagul: ~ #

– Pour monter cette commande mount utilisation (ce sera de monter tous les points de montage indiqués dans fstab)

root @ arunbagul: ~ # mount-a

Je vous remercie,
Arun Bagul

How to use RAM (physical) as disk

How to use RAM (physical) as disk

Introduction –
Sometime to gain performance, physical ram can be used as disk space which is very fast compare to normal hard disk.
So, how I can use RAM is disk ? go through this steps.

Step 1) Create directory as shown below where you want to mount RAM as disk

root@arunbagul:~# mkdir -p /tmp/ram
root@arunbagul:~# ls /tmp/ram
root@arunbagul:~#

Step 2) mount RAM ie tmpfs at mount point “/tmp/ram” directory-

root@arunbagul:~#  mount -t tmpfs -o size=10M tmpfs /tmp/ram/

* check mounted on not ?

root@arunbagul:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
tmpfs                  10M     0   10M   0% /tmp/ram

** to mount this permanently add entry in /etc/fstab as shown below.

root@arunbagul:~#  cat /etc/fstab

….

tmpfs        /tmp/ram    tmpfs    defaults,size=10m    0    0

root@arunbagul:~#

– To mount this use mount command (this will mount all mount points mentioned in fstab)

root@arunbagul:~# mount -a

Thank you,
Arun Bagul