Posted on 2012-09-14
Last Modified: 2012-09-21

Per these instructions:

I have a few questions,

Right after it says enter 1 for partition 1, I am prompted with this:
Partition number (1-4): 1
First cylinder (1-2610, default 1): 1
Last cylinder, +cylinders or +size{K,M,G} (1-2610, default 2610): 2610

What is meant by First Cylinder and Last Cylinder?


I formatted the disk fine, but the instructions are unclear to mount it

So I used this document:

Per the instructions, I did this: mount /dev/xvdb1 /data (mount: mount point /data does not exist) and tried /dev/xvdb /data (mount: you must specify the filesystem type) The errors I got are between the  ( ) so how can I get this done?

Question by:Computer Guy
    LVL 87

    Expert Comment

    1. The first cylinder would mean from which cylinder you want to start with your new partition, and the last cylinder means which cylinder would be the end of your partition. If you start with 1 and end with 2610 you would use the full capacity of your disk for that 1 partition. Usually it is easier to work with "G" (GigaBytes) than with cylinders.

    In order to be able to mount a formatted partition you must first have created a folder (in your case the data folder), and then mount the partition to that. So create the Data folder in your root (/), and then you should be able to mount your partition.
    LVL 3

    Author Comment

    by:Computer Guy
    I did create the data folder when I had those errors, what should the syntax be that I use?
    LVL 87

    Expert Comment

    How did you create the folder? Also, what file-system did you use to format the partition? What does fdisk -l show?
    LVL 3

    Author Comment

    by:Computer Guy
    Not sure:

        Device Boot      Start         End      Blocks   Id  System
    /dev/xvda1   *           1          32      256000   83  Linux
    Partition 1 does not end on cylinder boundary.
    /dev/xvda2              32         555     4194304   82  Linux swap / Solaris
    Partition 2 does not end on cylinder boundary.
    /dev/xvda3             555        5222    37491712   83  Linux

    Disk /dev/xvdb: 21.5 GB, 21474836480 bytes
    255 heads, 63 sectors/track, 2610 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xfec6040d

        Device Boot      Start         End      Blocks   Id  System
    /dev/xvdb1               1        2610    20964793+  83  Linux
    LVL 44

    Accepted Solution

    The "-j" switch for mke2fs tells it to make an ext3 file system.
    # mount -t ext3 /dev/xvdb1 /data

    should mount it if you have to specify the file system.
    LVL 3

    Author Comment

    by:Computer Guy
    Got this:

    mount: mount point /data does not exist
    LVL 87

    Expert Comment

    Go into the root folder and show what ls lists.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
    You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now