[nmglug] usb drive

BrianO'Keefe okeefe at cybermesa.com
Wed Aug 16 10:08:56 PDT 2006


Ed Brown wrote:
>
>
> BrianO'Keefe wrote:
>
>> Thanks Jeff, I understand. The /media/For_Linux is a separate drive 
>> not a separate partition on my Linux drive, which shares my hard disk 
>> with a Mac partition. The problem I'm having is specific to the usb 
>> drive partition For_Linux. I appreciate the help!
>
> Oh, sorry, guess I was confused too about what was where then, never 
> mind about hfs+...
>
> One last shot in the dark: I've seen unexpected disk usage messages 
> when the filesystem below the mountpoint is itself used or full.  That 
> is, if you unmount /dev/sdb9, do you still have stuff under 
> /media/For_Linux?  Not sure this would account for your particular 
> problem, this situation usually shows up the other way around: the 
> root partition appears to be full or more heavily used than a du would 
> indicate, because there appears to be lots of free space in the 
> mounted directory tree.  Mount points (like /media/For_Linux) should 
> be empty directories, but sometimes get written to when the device 
> isn't mounted yet.
>
> Just to make things clearer, it might help to post the full output to 
> the following:
> mount
> df -h
> parted /dev/sda print
> parted /dev/sdb print
>
> -Ed
>
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> http://www.nmglug.org/mailman/listinfo/nmglug
>
OK, this is getting stranger by the minute! I thought that I had seen 
/dev/sdb9 last night when I ran df-h:

/dev/sdb9              31G   25G  4.1G  86% /media/For_Linux

But this AM I ran:

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda8              15G   12G  2.9G  80% /
varrun                378M  136K  378M   1% /var/run
varlock               378M  4.0K  378M   1% /var/lock
udev                  378M  212K  378M   1% /dev
devshm                378M     0  378M   0% /dev/shm
lrm                   378M  480K  378M   1% 
/lib/modules/2.6.15-26-powerpc/volatile
/dev/sda9              31G   25G  4.4G  85% /media/For_Linux
/dev/sda13             51G  6.5G   45G  13% /media/Misc
/dev/sda11             68G   23G   46G  33% /media/Tarman

and no sdb9. I don't understand partitions enough to know what this means.


Here's the output of the other commands you posted Ed. And thanks for 
the help!!

brianokeefe at ubuntu:/media/For_Linux$ parted /dev/sda print
Disk geometry for /dev/sda: 0kB - 160GB
Disk label type: mac
Number  Start   End     Size    File system  Name                  Flags
1       1kB     32kB    32kB                 Apple
2       33kB    61kB    29kB                 Macintosh
3       61kB    90kB    29kB                 Macintosh
4       90kB    118kB   29kB                 Macintosh
5       119kB   147kB   29kB                 Macintosh
6       147kB   409kB   262kB                Macintosh
7       410kB   671kB   262kB                Macintosh
8       672kB   933kB   262kB                Patch Partition
9       934kB   33GB    33GB    ext2         Ext2_Untitled_2
11      33GB    106GB   72GB    hfs+         Apple_HFS_Untitled_3
13      106GB   160GB   54GB    hfs+         Apple_HFS_Untitled_4
Information: Don't forget to update /etc/fstab, if necessary.

brianokeefe at ubuntu:/media/For_Linux$ parted /dev/sdb print
Error: Could not stat device /dev/sdb - No such file or directory.
Retry/Cancel? Cancel
brianokeefe at ubuntu:/media/For_Linux$ mount
/dev/hda8 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
varrun on /var/run type tmpfs (rw)
varlock on /var/lock type tmpfs (rw)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
devshm on /dev/shm type tmpfs (rw)
lrm on /lib/modules/2.6.15-26-powerpc/volatile type tmpfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sda9 on /media/For_Linux type ext2 (rw,nosuid,nodev)
/dev/sda13 on /media/Misc type hfsplus (rw,nosuid,nodev,uid=1000,gid=1000)
/dev/sda11 on /media/Tarman type hfsplus (rw,nosuid,nodev,uid=1000,gid=1000)










More information about the nmglug mailing list