Professional Web Applications Themes

Where is that hard drive? - Ubuntu

On Thu, 02 Feb 2006 05:59:29 +0000, Walter Mitty wrote: > What tools do I need to verify what these directories link to? > > thanks for any help. I don't understand why gparted wouldn't show anything but I'd use mount anyway. mount|grep sd Chuck...

  1. #1

    Default Re: Where is that hard drive?

    On Thu, 02 Feb 2006 05:59:29 +0000, Walter Mitty wrote:
    > What tools do I need to verify what these directories link to?
    >
    > thanks for any help.
    I don't understand why gparted wouldn't show anything but I'd use mount
    anyway.

    mount|grep sd

    Chuck

    Chuck Guest

  2. #2

    Default Re: Where is that hard drive?

    * Walter Mitty wrote:
    > This is a little embarassing, but I'm lost.
    >
    > In my /media directory I have a windows and a sda5 directory.
    >
    > total 45
    > lrwxrwxrwx 1 root root 6 2005-12-07 14:10 cdrom -> cdrom0
    > drwxr-xr-x 2 root root 4096 2005-12-07 14:10 cdrom0
    > drwxr-xr-x 2 root root 4096 2005-12-28 15:56 ieee1394disk
    > drwxr-xr-x 2 root root 4096 2005-12-27 01:32 RGR USB 200
    > dr-x------ 1 mitticus mitticus 8192 2006-02-01 07:23 sda1
    > drwxrwxrwx 2 root root 4096 2006-02-02 06:32 sda5
    > drwxr-xr-x 2 root root 4096 2005-12-24 09:44 sdb1
    > drwxrwxrwx 6 root root 4096 2006-02-02 05:43 sdd5
    > lrwxrwxrwx 1 root root 4 2005-12-07 14:10 usb -> usb0
    > drwxr-xr-x 2 root root 4096 2005-12-07 14:10 usb0
    > drwxr-xr-x 2 root root 4096 2006-01-31 20:36 usbdisk
    > drwxr-xr-x 2 root root 4096 2005-12-09 09:50 windows
    > drwxr-xr-x 3 root root 1024 1970-01-01 01:00 xfer
    >
    > Now I know sda1 is my readonly external usb ntfs drive : not emtpy.
    > xfer is a small fat32 transfer partition on primary IDE : not empty.
    >
    > sdd5 is my external 300Gb ext3 backup device : not empty.
    >
    > My problem is that I have no idea where sda5 points to. If I go into
    > that dir I can create files etc.
    >
    > gparted shows nothing in regard.
    >
    > system/disks shows nothing.
    >
    > there is nothing in the fstab.
    >
    > What tools do I need to verify what these directories link to?
    What is the output of "$ mount" ?

    This should show up what filesystem it's mounted as which is where I'd
    start. If it doesn't show up there, look in /etc/fstab to see a
    reference for it in there.

    If nothing shows up there, maybe it's not even a separate partition.
    Maybe it's just a directory named sda5 in your /media directory?

    eg you could type "$ sudo mkdir /media/sdxzy" which would create a
    directory in your /media, but it isn't actually another disk/partition,
    it's just a directory on your /dev/sda disk.

    That's where I'd start anyway...

    --
    Troy Piggins
    Ubuntu 5.10 pkgs : kernel 2.6.12-9-386, postfix 2.2.4, procmail 3.22
    Compiled from src : slrn 0.9.8.1/rt (score_color patch), mutt 1.5.11i
    vim 6.4
    Troy Piggins Guest

  3. #3

    Default Re: Where is that hard drive?

    * Walter Mitty wrote:
    > "Troy" ... spluttered:
    >
    >> * Walter Mitty wrote:
    >>> This is a little embarassing, but I'm lost.
    >>>
    >>> In my /media directory I have a windows and a sda5 directory.
    >>>
    >>> total 45
    >>> lrwxrwxrwx 1 root root 6 2005-12-07 14:10 cdrom -> cdrom0
    >>> drwxr-xr-x 2 root root 4096 2005-12-07 14:10 cdrom0
    >>> drwxr-xr-x 2 root root 4096 2005-12-28 15:56 ieee1394disk
    >>> drwxr-xr-x 2 root root 4096 2005-12-27 01:32 RGR USB 200
    >>> dr-x------ 1 mitticus mitticus 8192 2006-02-01 07:23 sda1
    >>> drwxrwxrwx 2 root root 4096 2006-02-02 06:32 sda5
    >>> drwxr-xr-x 2 root root 4096 2005-12-24 09:44 sdb1
    >>> drwxrwxrwx 6 root root 4096 2006-02-02 05:43 sdd5
    >>> lrwxrwxrwx 1 root root 4 2005-12-07 14:10 usb -> usb0
    >>> drwxr-xr-x 2 root root 4096 2005-12-07 14:10 usb0
    >>> drwxr-xr-x 2 root root 4096 2006-01-31 20:36 usbdisk
    >>> drwxr-xr-x 2 root root 4096 2005-12-09 09:50 windows
    >>> drwxr-xr-x 3 root root 1024 1970-01-01 01:00 xfer
    >>>
    >>> Now I know sda1 is my readonly external usb ntfs drive : not emtpy.
    >>> xfer is a small fat32 transfer partition on primary IDE : not empty.
    >>>
    >>> sdd5 is my external 300Gb ext3 backup device : not empty.
    >>>
    >>> My problem is that I have no idea where sda5 points to. If I go into
    >>> that dir I can create files etc.
    >>>
    >>> gparted shows nothing in regard.
    >>>
    >>> system/disks shows nothing.
    >>>
    >>> there is nothing in the fstab.
    >>>
    >>> What tools do I need to verify what these directories link to?
    >>
    >> What is the output of "$ mount" ?
    >
    > already posted in thread.
    >
    >> This should show up what filesystem it's mounted as which is where I'd
    >> start. If it doesn't show up there, look in /etc/fstab to see a
    >> reference for it in there.
    >
    > alread posted in thread.
    >
    >> If nothing shows up there, maybe it's not even a separate partition.
    >> Maybe it's just a directory named sda5 in your /media directory?
    >
    > maybe, but I dont know. Seems strange.
    Not really.
    >> eg you could type "$ sudo mkdir /media/sdxzy" which would create a
    >> directory in your /media, but it isn't actually another disk/partition,
    >> it's just a directory on your /dev/sda disk.
    >>
    >> That's where I'd start anyway...
    >
    > me too. In fact I did : but I was hoping for some sort of "yse"
    > tool which I could point at /media which would explain in detail the
    > entire contents.
    If it's not mounted, and it doesn't appear in /etc/fstab, then it isn't
    mounting automatically. If it isn't in any configs like samba or nfs
    for sharing, then it must just be a deceptive directory name only.

    Try renaming it, keep your system running and see if anything spacks
    out. If it does, change it back and you know your culprit. If it
    doesn't I'd guess it's redundant.

    You aren't running any production type servers or anything on it? Just
    a desktop type thing?

    --
    Troy Piggins
    Ubuntu 5.10 pkgs : kernel 2.6.12-9-386, postfix 2.2.4, procmail 3.22
    Compiled from src : slrn 0.9.8.1/rt (score_color patch), mutt 1.5.11i
    vim 6.4
    Troy Piggins Guest

  4. #4

    Default Re: Where is that hard drive?

    On 2006-02-02, Walter Mitty <mitticus> wrote:
    > This is a little embarassing, but I'm lost.
    >
    > In my /media directory I have a windows and a sda5 directory.
    *SNIP*
    > What tools do I need to verify what these directories link to?
    >
    > thanks for any help.
    Execute:

    cd /media/sda5
    df .


    You'll probably find that it's the same output as

    cd /media/
    df .

    This will show you what file system the directory you are currently in
    is mounted on. However, I'm guessing it's just a directory. That's all
    mount points are. If you remove the external 300GB ext 3 backup device,
    /media/sdd5 will still exist and you could potentially put files there. If
    you then mounted your external 300GB ext 3 backup device, you would no
    longer be able to access those files. While this sounds odd, it's amazingly
    convenient.

    When I began to run out of space on the hard disk in my web server, I added
    another disk, copied all the files to it, and mounted it on /var/www

    dweezil:~> df -k
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/hda1 13756872 10870008 2188040 84% /
    tmpfs 193592 4 193588 1% /dev/shm
    /dev/hdb1 10080488 5419548 4148872 57% /var/www

    It's just like it's in the /var directory... only it isn't. Not physically.




    --
    Seth H Holmes
    Seth H Holmes Guest

  5. #5

    Default Re: Where is that hard drive?

    On Thu, 02 Feb 2006 06:38:13 +0000, Walter Mitty wrote:
    > "Chuck" risked the wrath of Usenet weenies mastering mommies computer
    > when he ventured forth on 2006-02-02, commmitted his life to the whims
    > of Google, and spluttered:
    >
    >> On Thu, 02 Feb 2006 05:59:29 +0000, Walter Mitty wrote:
    >>
    >>> What tools do I need to verify what these directories link to?
    >>>
    >>> thanks for any help.
    >>
    >> I don't understand why gparted wouldn't show anything but I'd use mount
    >> anyway.
    >>
    >> mount|grep sd
    >>
    >> Chuck
    >>
    >>
    > mount doesn list sda5 either.
    Ah, then I think it's an empty directory. If you 'ls -l /dev/sd*' you
    should see what is going on.

    If the line starts with an l it's a link.
    If it's a real device it will start with a b.
    If it's a directory it will start with a d.
    And so if it starts with a d it can be safely removed.

    Chuck
    Chuck Guest

Similar Threads

  1. USB Hard Drive
    By Digital Directory Usa in forum PHP Development
    Replies: 1
    Last Post: July 23rd, 06:19 PM
  2. [PHP] USB Hard Drive
    By Robert Cummings in forum PHP Development
    Replies: 0
    Last Post: July 23rd, 05:01 PM
  3. 120 GB hard drive on old P75
    By Carl D. Blake in forum Debian
    Replies: 5
    Last Post: July 21st, 04:00 PM
  4. new hard drive--now what?
    By atomseed webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 17th, 11:17 PM
  5. Replies: 7
    Last Post: July 13th, 03:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139