Soma s Installation Notes

Similar documents
Installing Linux (Chapter 8) Note packet # 4. CSN 115 Operating Systems Ken Mead Genesee Community College. Objectives

Chapter 6. Linux File System

CST8207: GNU/Linux Operating Systems I Lab Nine Disks, Partitions, and File Systems Part 2. Disks, Partitions, and File Systems - Part 2 of 2

Project 3: An Introduction to File Systems. COP 4610 / CGS 5765 Principles of Operating Systems

This is Worksheet and Assignment 12. Disks, Partitions, and File Systems

Linux Hardware Management. Linux System Administration COMP2018 Summer 2017

SCSI RDMA Protocol. Introduction. Configuring SRP CHAPTER

Manually Mount Usb Flash Drive Linux Command Line Redhat

Week 10 Project 3: An Introduction to File Systems. Classes COP4610 / CGS5765 Florida State University

RocketRAID 231x/230x SATA Controller Debian Linux Installation Guide

Exam Actual. Higher Quality. Better Service! QUESTION & ANSWER

For personnal use only

Upgrade Cisco Interface Module for LoRaWAN IXM using the Console

INTERLAB Tel: Fax:

How To Resize ext3 Partitions Without Losing Data

ETERNUS Disk storage systems Server Connection Guide (FCoE) for Linux

Project 3: An Introduction to File Systems. COP4610 Florida State University

A Frame Work for Virtual USB Devices under Linux Environment

Hard Drive Technologies

iscsi storage is used as shared storage in Redhat cluster, VMware vsphere, Redhat Enterprise Virtualization Manager, Ovirt, etc.

SLES Linux Installation Guide

USB 2.0 Multi-Plus Card Reader/Writer. User s Manual

RocketRAID 2680/2684 SAS Controller Red Hat Enterprise/CentOS Linux Installation Guide

Windows Method Using Linux Live CD and Gparted

RocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide

Manually Mount Usb Flash Drive Ubuntu Not Recognizing

Partitioning and Formatting Guide

Asianux Server 3 Installation Guide

Dvisto. User Manual. The Ultimate Portable On-the-Go Digital Camera Backup Storage! Version 1.0

RocketRAID 231x/230x SATA Controller Red Hat Enterprise/CentOS Linux Installation Guide

Express Report Service Setup Guide (Linux/VMware)

Vvisto. User Manual. & Installation Guide. USB 2.0 Hard Drive with Multi Card Reader, featuring easy file backup!

Disks, Filesystems Todd Kelley CST8177 Todd Kelley 1

OPS235. Linux File Systems Partitioning Mounting File Systems

A+ Guide to Managing and Maintaining your PC, 6e. Chapter 8 Hard Drives

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage

A+ Guide to Hardware, 4e. Chapter 7 Hard Drives

Manually Mount Usb Flash Drive Ubuntu Server

CST8207 GNU/Linux O/S I Disks and Partitions

ATTO UL4D & UL5D Troubleshooting Guide

Manually Mount Usb Flash Drive Linux Command Line Fedora

Ubuntu Linux Installation Guide

JetFlash User s Manual

Getting Started with BeagleBoard xm

Fedora Linux Installation Guide

Disks, Filesystems 1

Installation of the OS

Data rate - The data rate is the number of bytes per second that the drive can deliver to the CPU.

XRF Hardware & Software Upgrades

The DaisyCutter. User Manual. & Installation Guide. External Storage Enclosure for 2.5 Hard Drives

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage

How to Recover Data with Linux

Table of Contents. Jaz Drive HOWTO

RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide

Linux Manually Mounting External Hard Drive Mac Terminal

BCR in 1 Card Reader BAY

Operating System. Hanyang University. Hyunmin Yoon Operating System Hanyang University

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1

As this method focuses on working with LVM, we will first confirm that our partition type is actually Linux LVM by running the below command.

Unless otherwise noted, all references to STRM refer to STRM, STRM Log Manager, and STRM Network Anomaly Detection.

Notes on Using Red Hat Enterprise Linux AS (v.4 for EM64T)

The MantaRay. User Manual. & Installation Guide. External Storage Enclosure for 3.5 Hard Drives

Hardware Requirements. Software Requirements. Features. Package Contents. Specification

M9 Mini Pod. External Storage Enclosure for 3.5 Hard Drive. User Manual (English) EN

Cross-compilation with Buildroot

Chapter 4 File system management. Chapter 4 File system management

ECE 598 Advanced Operating Systems Lecture 14

The Clearlight. User Manual. & Installation Guide. External Storage Enclosure for 2.5 Hard Drives

Guide to manipulating the DevKit8000 image

ASIANUX SERVER 3 SP1 INSTALLATION GUIDE

Manually Mount Usb Device Linux Command Line Ubuntu 12.04

Rocket RAID 2644 SAS Controller opensuse Linux Installation Guide

Adding a block devices and extending file systems in Linux environments

ATTO ExpressSAS Troubleshooting Guide for Linux

The IceCube. User Manual. & Installation Guide. External Storage Enclosure for 3.5 Hard Drives

Linux+ Guide to Linux Certification, Third Edition. Chapter 6 Advanced Installation

Flash Drive Won't Mount Windows 7

Chapter 6. Boot time configuration. Chapter 6 Boot time configuration

Notes on Using Red Hat Enterprise Linux AS (v.3 for x86)

Fedora Linux Installation Guide

Linux Manually Mount External Hard Drive Ntfs 3g Could Not

MaRTE OS FAT16 Filesystem

Linux File System Study Guide

This section describes the procedures needed to add a new disk to a VM. vmkfstools -c 4g /vmfs/volumes/datastore_name/vmname/xxxx.

Production Installation and Configuration. Openfiler NSA

Linux Manually Mount External Hard Drive Ntfs-3g Could Not

Partitioning Disks with parted

MODULE 02. Installation

NETW 110 Lab 4 Using eth0 Configuration Mounting Drives and Devices Page 1

Partitioning and Formatting Reference Guide

CST Algonquin College 2

Once your USB drive is formatted for the FAT32 file system it can be mounted and tested on the GESBC To do this, use the following command:

Manually Mount External Hard Drive Windows 7 Install

INSTALLATION. Security of Information and Communication Systems. Table of contents

Digital Crystal Documentation Procedure

Exam Name: Red Hat Certified Engineer on Redhat

LiLo Crash Recovery. 1.0 Preparation Tips. 2.0 Quick Steps to recovery

Manually Mount Usb Flash Drive Ubuntu Server 12.04

Os X Manually Mount Usb Drive Command Line Afp

INSTALLATION. Security of Information and Communication Systems

Transcription:

For Details, Contact: Thay Soma sundaram Telephone: 850-644-6448 E-mail: soma@sb.fsu.edu Soma s Installation Notes Kasha Laboratory of Biophysics Institute of Molecular Biophysics Florida State University Tallahassee, FL 32306-4380 Linux Installation of a USB Mini Drive Installation notes for Iomega s USB Mini Drive under RedHat Linux (ver. 2.4.4) Tallahassee, March 2003: The following notes describe how to install an Iomega s USB Mini Drive (aka USB Flash Storage, USB Smart Drive, etc) under RedHat 7.0 Linux (ver. 2.4.4). Several vendors including Iomega, Belkin, Fuji, and Sony sell these drives. They are compatible even with Windows (Win 98, WinXP, Win2000) and Macintosh operating systems (O/Ss). These drives are compatible with new the USB 2.0 standard, however, their transfer speeds are akin to that of old USB 1.1 standard (~ 1Mb/s read rate). Unit Description The USB Mini Drive is a portable and easy-to-use storage device that looks like a key chain. It has two parts: 1) the storage side with LED and an USB interface and 2) a cover for the USB interface. Figure 1: Iomega s 128 MB USB MiniDrive. During transport and storage the cover protects the interface and while in use the user removes the cover and plugs the USB interface to an USB port. The USB Mini Drive does not require additional power supply or software and is fully compatible with Linux Kernel version 2.4 and above. Copyright 2003 Soma s Computer Notes: Iomega USB MiniDrive Installation

Soma s Installation Notes: Iomega MiniDrive 2 Created on 1/31/2003 10:49 AM Installation The USB Mini Drive installation is very simple and quick. As a root first create a mount point for the drive and decide whether to allow the user to have mounting authority and whether you want to allow auto-mount. Then open the USB MiniDrive exposing its USB interface and connect it to any open USB port in your Linux machine (see Figure2 with closed and open USB interface). In principle, the USB MiniDrive should be recognized as a new device. If not run through the /var/log/dmesg file to find out what the device name is and specifically mount it. Fig. 2a Iomega USB MiniDrive (closed) Fig. 2b Iomega USB MiniDrive (open) Specific Installation (First time) In this section, it is assumed that you are installing the drive for the first time. First log in as root and make a copy of the /var/log/dmesg into a text file (say preusb-dmesg.txt). Then open the USB MiniDrive and plug it to an open USB port. It is likely that there will be more information appended to the dmesg about the drive and save it once again as a text message (say, postusbdmesg.txt), if not look at the tail section of /var/log/messages. Close examination of the postusb-dmesg.txt may reveal the device name assignment for the USB drive (it is usually a SCSI disk and therefore likely to be /dev/sdb1 or /dev/sdc1; depending upon whether the

Soma s Installation Notes: Iomega MiniDrive 3 Created on 1/31/2003 10:49 AM machine already has one or two SCSI disks, respectively; system ide-interface harddisks, i.e., bootable and Linux o/s are usually assigned /dev/hda1 through /dev/hda9 etc depending upon the partition numbers 1 through 9). In the event that you are unable to find out the device designation from dmesg file, try using the /sbin/fdisk l command. This command lists the partition tables for the Linux system and will show the designation of the device. Another way to find out whether the device is available is to look at /proc/scsi/scsi (text file) or issue the command cdrecord scanbus. A typical session is shown below: root@raccoon[2:27pm]~>more post-usb-msg.txt /var/log/dmesg hub.c: USB new device connect on bus1/1, assigned device number 2 scsi1 : SCSI emulation for USB Mass Storage devices Vendor: I0MEGA Model: Mini 128*IOM Rev: 3.04 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi removable disk sdb at scsi1, channel 0, id 0, lun 0 SCSI device sdb: 256320 512-byte hdwr sectors (131 MB) sdb: Write Protect is off sdb: sdb1 Here the device designation is established as /dev/sdb1 In the event dmesg does not reveal the device designation try using the command fdisk l root@neptune[2:42pm]~>/sbin/fdisk -l Disk /dev/sda: 255 heads, 63 sectors, 9732 cylinders Units = cylinders of 16065 * 512 bytes /dev/sda1 1 9729 78148161 83 Linux This SCSI disk (/dev/sda1; first SCSI disk, partition 1) is actually a 80 GB Maxtor FireWire drive Disk /dev/sdb: 255 heads, 63 sectors, 9732 cylinders Units = cylinders of 16065 * 512 bytes /dev/sdb1 1 4178 33559753+ 83 Linux /dev/sdb2 4179 9732 44612505 83 Linux These SCSI disks (/dev/sdb1 + /dev/sdb2) are two partitions of a single 80 GB Maxtor FireWire drive Disk /dev/sdc: 6 heads, 63 sectors, 678 cylinders Units = cylinders of 378 * 512 bytes /dev/sdc1 * 1 678 128110+ 6 FAT16 This is our SCSI disk (/dev/sdc1; third SCSI disk, partition 1) with FAT16 (Windows) filesystem

Soma s Installation Notes: Iomega MiniDrive 4 Created on 1/31/2003 10:49 AM Disk /dev/hda: 255 heads, 63 sectors, 2431 cylinders Units = cylinders of 16065 * 512 bytes /dev/hda1 * 1 129 1036161 83 Linux /dev/hda2 130 162 265072+ 82 Linux swap /dev/hda3 163 546 3084480 83 Linux /dev/hda4 547 2431 15141262+ 5 Extended /dev/hda5 547 930 3084448+ 83 Linux /dev/hda6 931 2431 12056751 83 Linux These are system Linux ide-interface disks with several partitions, including the bootable partition. Another way of looking at the SCSI disk is examining the text file /proc/scsi/scsi: root@neptune[2:59pm]/>more /proc/scsi/scsi Attached devices: Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: Maxtor Model: 1394 storage Rev: v1.2 Type: Direct-Access ANSI SCSI revision: 06 Host: scsi2 Channel: 00 Id: 01 Lun: 00 Vendor: Maxtor Model: 1394 storage Rev: v1.2 Type: Direct-Access ANSI SCSI revision: 06 Host: scsi3 Channel: 00 Id: 00 Lun: 00 Vendor: I0MEGA Model: Mini 128*IOM Rev: 3.04 Type: Direct-Access ANSI SCSI revision: 02 Subsequent Installation Once the exact device designation has been known, the root may decide to allow auto-mount and umount of this specific drive by users, as long as no existing devices are removed or new devices are added. In the latter event the device designation may change, requiring the root to update the /etc/fstab file. The process of setting up the auto-mount by the user is for root to edit the /etc/fstab file to include the device name, mount point, file system, and options. A typical entry in the fstab file may look like the following: # TS March 2003 in Dittmer #Device Name Mount point Filesystem Options Retries /dev/sdb1 /mnt/mini-usb vfat auto,owner,rw,user 0 0 The root is allowing auto- and user- mount of the device with /dev/sdb1 designation to /mnt/mini-usb mount point As soon as one plugs in the USB MiniDrive, the user can log in and issue the following mount command to mount the device:

Soma s Installation Notes: Iomega MiniDrive 5 Created on 1/31/2003 10:49 AM soma@raccoon[1:24pm]~>mount /mnt/mini-usb/ soma@raccoon[1:24pm]~>df -k Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda1 1011928 80684 879840 9% / /dev/hda9 256667 174671 68744 72% /home /dev/hda6 3028080 1561144 1313116 55% /usr /dev/hda5 3028080 862256 2012004 30% /usr/local /dev/hda7 2016016 35240 1878364 2% /var /dev/hda10 8815372 3021264 5346300 37% /d5 /dev/sda1 17639220 10763268 5979932 65% /d3 /dev/sda2 17639248 1487972 15255252 9% /d4 spruce:/d1 30842136 11977744 17297656 41% /spruce/d1 spruce:/d2 35278540 19478516 14007976 59% /spruce/d2 /dev/sdb1 127844 3948 123896 4% /mnt/mini-usb If, however, the entry on /etc/fstab is slightly modified (from user to users) any user can mount and umount and even umount a device which has been mounted by another user (including the root; so be careful): # TS March 2003 in Dittmer #Device Name Mount point Filesystem Options Retries /dev/sdb1 /mnt/mini-usb vfat noauto,owner,rw,users 0 0 The root is allowing user- mount of the device with umount of the same device by any other user as well One subtle point for users who have some experience as root. If you issue the command mount with more specific options (while you are an ordinary user) the mount will fail with an error message shown below, even though every user is allowed to mount the device (you are not allowing the o/s to read the /etc/fstab file): soma@raccoon[1:38pm]~>mount -t vfat /dev/sdb1 /mnt/mini-usb/ mount: only root can do that soma@raccoon[1:38pm]~>mount /dev/sdb1 /mnt/mini-usb/ mount: only root can do that soma@raccoon[1:38pm]~>mount -t vfat /mnt/mini-usb/ mount: only root can do that so, issue mount with just mount point as shown below (this time the shell will read the /etc/fstab file and correctly mount the device with specified filetype): soma@raccoon[1:38pm]~>mount /mnt/mini-usb/ soma@raccoon[1:41pm]~>mount Mount with no arguments /dev/sdb1 on /mnt/mini-usb type vfat (rw,noexec,nosuid,nodev,user=soma) soma@raccoon[1:40pm]~>df -k spruce:/d2 35278540 19478516 14007976 59% /spruce/d2 /dev/sdb1 127844 3948 123896 4% /mnt/mini-usb

Soma s Installation Notes: Iomega MiniDrive 6 Created on 1/31/2003 10:49 AM once the data has been accessed and processing is complete, umount the device and remove the USB MiniDrive for storage and transport. soma@raccoon[1:38pm]~>umount /mnt/mini-usb/ Conclusion This completes the Installation of Iomega USB Mini Drive. For further help consult with a systems manager, Iomega site, or read a Linux manual. Note: All the figures are courtesy of Iomega Corporation.