Tuesday, November 13, 2012

Pogoplug: Useful Commands

cat /proc/meminfo - displays memory information, including swap file availability and utilization.

/opt/sbin/e2fsck /tmp/.cemnt/sda1 - this command will scan and attempt to correct file system corruption issues on ext2 files systems. Please substitute the correct drive mapping for sda1 (e.g. /tmp/.cemnt/sdb1).
For ext3 (or newer), checkout this link: Repairing Linux ext2 or ext3 File System

fdisk /dev/sda - allows you to create/modify/delete partitions on the specified device (e.g. /dev/sdb)

/opt/sbin/mkfs.ext3 -b 4096 /dev/sda1 - allows you to format the specified device and partition with the ext3 file system (e.g. /dev/sdb1 or /dev/sda2, etc).

No comments:

Post a Comment