Re: have you inserted usb disk with firmware during installation?

2023-02-20 Thread Andrew M.A. Cater
On Mon, Feb 20, 2023 at 02:24:00PM +0800, lsg wrote: > installer seems very buggy > > bullseye installer can't find firmware after i insert usb disk > > after lots of frustration and effort, i realize i shall copy firmware to > sda1, which use vfat FS, then installer c

have you inserted usb disk with firmware during installation?

2023-02-19 Thread lsg
installer seems very buggy bullseye installer can't find firmware after i insert usb disk after lots of frustration and effort, i realize i shall copy firmware to sda1, which use vfat FS, then installer can get firmware without prompting me.

Re: trying to mount a micro USB disk as a regular user on a Linux laptop on which I don't have admin rights ...

2020-05-14 Thread The Wanderer
On 2020-05-14 at 06:43, Albretch Mueller wrote: > On 5/12/20, Eric S Fraga wrote: > >> If pmount is installed/available, 'pmount sdc1' will mount the disk >> onto /media/sdc1. > > I don't think pmount is installed, but I will check anyway. My > options seems hopeless. > > I can't even underst

Re: trying to mount a micro USB disk as a regular user on a Linux laptop on which I don't have admin rights ...

2020-05-14 Thread Andrei POPESCU
On Jo, 14 mai 20, 12:43:53, Albretch Mueller wrote: > > I can't even understand why they would mount a drive as root. Isn't > that more problematic from a security point of view? In a typical *nix environment it shouldn't matter who mounts the filesystem, permissions are anyway at directory / f

Re: trying to mount a micro USB disk as a regular user on a Linux laptop on which I don't have admin rights ...

2020-05-14 Thread Albretch Mueller
On 5/12/20, Eric S Fraga wrote: > If pmount is installed/available, 'pmount sdc1' will mount the disk onto > /media/sdc1. I don't think pmount is installed, but I will check anyway. My options seems hopeless. I can't even understand why they would mount a drive as root. Isn't that more problem

Re: trying to mount a micro USB disk as a regular user on a Linux laptop on which I don't have admin rights ...

2020-05-14 Thread Jonathan Dowland
On Tue, May 12, 2020 at 09:03:51PM +0200, deloptes wrote: this is not supposed to be mounted there from the command line. use the file browser and don't forget to add the user to plugdev (if I am not mistaken) after adding to the group you have to logout and login again This is a misleading/mis

Re: trying to mount a micro USB disk as a regular user on a Linux laptop on which I don't have admin rights ...

2020-05-12 Thread deloptes
Albretch Mueller wrote: > $ mount --types vfat /dev/sdc1 /media/user/5C51-D400 > mount: only root can use "--types" option this is not supposed to be mounted there from the command line. use the file browser and don't forget to add the user to plugdev (if I am not mistaken) after adding to the gr

Re: trying to mount a micro USB disk as a regular user on a Linux laptop on which I don't have admin rights ...

2020-05-12 Thread Eric S Fraga
If pmount is installed/available, 'pmount sdc1' will mount the disk onto /media/sdc1. -- Eric S Fraga via Emacs 28.0.50 & org 9.3.6 on Debian bullseye/sid

trying to mount a micro USB disk as a regular user on a Linux laptop on which I don't have admin rights ...

2020-05-12 Thread Albretch Mueller
$ mount /dev/sdc1 mount: can't find /dev/sdc1 in /etc/fstab $ umount /dev/sdc1 $ mount --types vfat /dev/sdc1 /media/user/5C51-D400 mount: only root can use "--types" option $ mount /dev/sdc1 /media/user/5C51-D400 mount: only root can do that $ mount /dev/sdc1 mount: can't find /dev/sdc1 in /et

Re: usb-disk path change and idle spindown

2018-12-12 Thread segfredo
ok found uas as the perpetator and 'options usb-storage quirks=0bc2:61b7:u' in modprobe.conf as a workaround, making the disks appear as ata-drives again. hdparm is also happy once more and disks spindown as usual :) would still be glad for any references/context or even a 'real fix' cheers

usb-disk path change and idle spindown

2018-12-11 Thread segfredo
Hello it sems some recent update made my usb-disks appear as /dev/disk/by-id/usb-Seagate_M3_Portabable... indstead of /dev/disk/by-id/ata-ST4000LM024... nbd BUT they no longer spindown automatically and hdparm throws some error # hdparm -S55 /dev/disk/by-id/usb-Seagate_M3_Portable_... /dev/disk

Re: Supper slow USB disk

2017-10-01 Thread Mostafa Shahverdy
> I have a directory named /media/joe, with joe:joe 750 permissions. I'm > reasonably sure that systemd originally created that, but if you have > an appropriate directory which was created with different permissions, > that may be a problem. > Thank you! Mine was mostafa:root 755, I don't know wh

Re: Supper slow USB disk

2017-10-01 Thread Joe
On Sun, 1 Oct 2017 18:46:18 +0330 Mostafa Shahverdy wrote: > The whole idea for changing the content came from the fact that my usb > drives were mounting as read-only for non-root users, so I tried to > fix it and no luck. So at the end I removed my entries for removable > media. I still have th

Re: Supper slow USB disk

2017-10-01 Thread Mostafa Shahverdy
, Oct 1, 2017 at 6:40 PM, Joe wrote: > On Sun, 1 Oct 2017 18:26:58 +0330 > Mostafa Shahverdy wrote: > > > Maybe this is something with my /etc/fstab? because I tried to change > > the content. Right now there is no entry for my USB disk there. > > On the whole, there

Re: Supper slow USB disk

2017-10-01 Thread Joe
On Sun, 1 Oct 2017 18:26:58 +0330 Mostafa Shahverdy wrote: > Maybe this is something with my /etc/fstab? because I tried to change > the content. Right now there is no entry for my USB disk there. On the whole, there is no need for entries for removable media in /etc/fstab, unless you hav

Re: Supper slow USB disk

2017-10-01 Thread Mostafa Shahverdy
Maybe this is something with my /etc/fstab? because I tried to change the content. Right now there is no entry for my USB disk there. On Sun, Oct 1, 2017 at 6:19 PM, Mostafa Shahverdy wrote: > > > >>> Using my own system, it copies at most 200kps while using a live cd it &g

Re: Supper slow USB disk

2017-10-01 Thread Mostafa Shahverdy
>> Using my own system, it copies at most 200kps while using a live cd it >> copies >> up to 4Mps >> > > measured how? > ​That's what Nautilus show while copying a movie to my disk.​ ​but to make sure, I tried using dd to have a better measurement: $ sudo dd if=/dev/zero of="/media/mostafa/Trans

Re: Supper slow USB disk

2017-10-01 Thread Michael Stone
On Sun, Oct 01, 2017 at 05:11:12AM +0330, Mostafa Shahverdy wrote: Can you quantify the performance Using my own system, it copies at most 200kps while using a live cd it copies up to 4Mps measured how? [1.516112] usb 3-3: new high-speed USB device number 2 using ehci-pci [1.66646

Re: Supper slow USB disk

2017-09-30 Thread Mostafa Shahverdy
> It seems pretty clearly to be operating at USB 2 speed. Are there any > error messages in your dmesg output? ​I couldn't find any errors in my dmesg log, as I'm sending it as an attachment. ​ > Can you quantify the performance ​Using my own system, it copies at most 200kps while using a live

Re: Supper slow USB disk

2017-09-30 Thread Michael Stone
On Sat, Sep 30, 2017 at 08:49:27PM +0330, Mostafa Shahverdy wrote: I have an issue with the speed of my USB3 Trancend disk, while I am using my motherboard with USB2 ports (and also some usb1 ports). It seems it is using usb1 driver for my usb disk, and [...] /: Bus 03.Port 1: Dev 1, Class

Supper slow USB disk

2017-09-30 Thread Mostafa Shahverdy
Hi everyone I have an issue with the speed of my USB3 Trancend disk, while I am using my motherboard with USB2 ports (and also some usb1 ports). It seems it is using usb1 driver for my usb disk, and because of that, I am expericing a very slow speed. I have to mention that using an Ubuntu live

Re: Only root can write on USB disk

2017-05-05 Thread Stefan Monnier
> I have a very annoying problem. I can't write to my usb drives (fat32, > ntfs, etc.) without root permissions. How can I fix this? How did you mount it? I usually mount those with `pmount`. Stefan

Re: Only root can write on USB disk

2017-05-05 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, May 05, 2017 at 10:55:58AM +, Curt wrote: > On 2017-05-05, wrote: > > > > On Fri, May 05, 2017 at 09:17:51AM +, Curt wrote: > >> On 2017-05-02, Greg Wooledge wrote: > >> > On Tue, May 02, 2017 at 07:16:57PM +0430, Mostafa Shahverdy w

Re: Only root can write on USB disk

2017-05-05 Thread Curt
On 2017-05-05, wrote: > > On Fri, May 05, 2017 at 09:17:51AM +, Curt wrote: >> On 2017-05-02, Greg Wooledge wrote: >> > On Tue, May 02, 2017 at 07:16:57PM +0430, Mostafa Shahverdy wrote: >> >> I have a very annoying problem. I can't write to my usb drives (fat32, >> >> ntfs, etc.) without ro

Re: Only root can write on USB disk

2017-05-05 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, May 05, 2017 at 09:17:51AM +, Curt wrote: > On 2017-05-02, Greg Wooledge wrote: > > On Tue, May 02, 2017 at 07:16:57PM +0430, Mostafa Shahverdy wrote: > >> I have a very annoying problem. I can't write to my usb drives (fat32, > >> ntfs, e

Re: Only root can write on USB disk

2017-05-05 Thread Curt
On 2017-05-02, Greg Wooledge wrote: > On Tue, May 02, 2017 at 07:16:57PM +0430, Mostafa Shahverdy wrote: >> I have a very annoying problem. I can't write to my usb drives (fat32, >> ntfs, etc.) without root permissions. How can I fix this? > > Mount the file system with "-o uid=youruser" to have t

Re: Only root can write on USB disk

2017-05-04 Thread Pascal Hambourg
Le 04/05/2017 à 17:22, Mostafa Shahverdy a écrit : [10021.791499] usb-storage 3-1:1.0: USB Mass Storage device detected [10021.793693] scsi host9: usb-storage 3-1:1.0 [10022.814216] scsi 9:0:0:0: Direct-Access Philips USB Flash Drive PMAP PQ: 0 ANSI: 4 [10022.814812] sd 9:0:0:0: Attached

Re: Only root can write on USB disk

2017-05-04 Thread Brian
On Thu 04 May 2017 at 19:52:46 +0430, Mostafa Shahverdy wrote: > > > > In my /etc/fstab, I add lines for the drives and put 'user' in the options: > > > > LABEL= auto noauto,user,rw,exec 0 0 > > I played with fstab as far as I could, and still no luck. It is still > owned by root. I also f

Re: Only root can write on USB disk

2017-05-04 Thread Greg Wooledge
On Thu, May 04, 2017 at 05:12:39PM +0100, Lisi Reisz wrote: > On Thursday 04 May 2017 16:22:46 Mostafa Shahverdy wrote: > > this is my fstab line: > > > > > > /dev/sdh1 /media/mostafa/flash_h1 auto user,rw,nosuid,nodev,relatime 0 0 > > it doesn't include what Greg suggested. He suggested: > "-o u

Re: Only root can write on USB disk

2017-05-04 Thread Lisi Reisz
On Thursday 04 May 2017 16:22:46 Mostafa Shahverdy wrote: > > In my /etc/fstab, I add lines for the drives and put 'user' in the > > options: > > > > LABEL= auto noauto,user,rw,exec 0 0 > > I played with fstab as far as I could, and still no luck. It is still > owned by root. I also found that

Re: Only root can write on USB disk

2017-05-04 Thread Mostafa Shahverdy
> > In my /etc/fstab, I add lines for the drives and put 'user' in the options: > > LABEL= auto noauto,user,rw,exec 0 0 I played with fstab as far as I could, and still no luck. It is still owned by root. I also found that there are some errors in my dmesg: [10021.791499] usb-storage 3-1:

Re: Only root can write on USB disk

2017-05-04 Thread Mostafa Shahverdy
> Mount the file system with "-o uid=youruser" to have the files presented > by the kernel as being "owned" by that user. Even using that commant, it is still owned by root -- Regards, Mostafa Shahverdy signature.asc Description: PGP signature

Re: Only root can write on USB disk

2017-05-02 Thread Greg Wooledge
On Tue, May 02, 2017 at 07:16:57PM +0430, Mostafa Shahverdy wrote: > I have a very annoying problem. I can't write to my usb drives (fat32, > ntfs, etc.) without root permissions. How can I fix this? Mount the file system with "-o uid=youruser" to have the files presented by the kernel as being "o

Only root can write on USB disk

2017-05-02 Thread Mostafa Shahverdy
Dear all I have a very annoying problem. I can't write to my usb drives (fat32, ntfs, etc.) without root permissions. How can I fix this? -- Regards, Mostafa Shahverdy signature.asc Description: PGP signature

Re: Worrisome USB disk messages in 4.6.0-1, but not 4.5.0-2

2016-07-30 Thread Michael Schaffner
Hi, same here (running debian jessie with kernels from debian-backports): With 4.5.0-0.bpo.2-amd64 there are no messages, with 4.6.0-0.bpo.1-amd64 i get them: Jul 18 09:25:30 mvdr2 kernel: [ 461.495406] sd 10:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE Jul 18 09:2

Re: Worrisome USB disk messages in 4.6.0-1, but not 4.5.0-2

2016-07-29 Thread Brian Flaherty
On Friday, July 29, 2016 11:39 AM, Brian Flaherty wrote: > > Hello,> > On my desktop, I've been getting messages like this in dmesg connected with > an external USB hard disk. This is a block of them from this morning: [ rest deleted ] If it is worth more information, I rebooted the desktop

Worrisome USB disk messages in 4.6.0-1, but not 4.5.0-2

2016-07-29 Thread Brian Flaherty
Hello, On my desktop, I've been getting messages like this in dmesg connected with an external USB hard disk. This is a block of them from this morning: Jul 29 10:21:48 pelman kernel: sd 5:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE Jul 29 10:21:48 pelman kernel:

Re: Controlling power settings for external USB disk drives using sdparm

2015-08-04 Thread Tixy
On Tue, 2015-08-04 at 20:44 -0700, Jesse Molina wrote: > If you want a spindown time longer than 5-minutes, you'll have to > figure it out yourself, because I have no idea. Try 'man sdparm'. (I have hdparm and the man page describes the timeout value, assume sdparm does too). -- Tixy -- To UN

Re: Controlling power settings for external USB disk drives using sdparm

2015-08-04 Thread Jesse Molina
Update to this: In the message below, I said that setting "SCT=18000" would be a 15 minute spindown, but this does not appear to be correct. I suspect this parameter is like the hdparm -S argument, which is non-linear. I have confirmed that SCT=1200 is 1-minute, and SCT=3000 is 5-minutes.

Controlling power settings for external USB disk drives using sdparm

2015-08-04 Thread Jesse Molina
Hi everyone I wanted to post, for posterity, what I recently learned while playing with my new external USB3 disk drive. I needed to control the power settings for this drive. I noticed that it was never ever spinning down, so I wanted to be able to either power in up/down on command, or ha

Re: external (USB) disk errors causing hangs and 100% cpu core usage

2015-07-28 Thread Celejar
On Mon, 27 Jul 2015 23:40:10 -0400 Gary Dale wrote: > On 27/07/15 10:08 PM, Celejar wrote: > > Hi, > > > > I have a fairly new external USB disk that frequently throws errors. > > When these occur, the disk becomes partially or totally inaccessible. > > Even wo

Re: external (USB) disk errors causing hangs and 100% cpu core usage

2015-07-27 Thread Gary Dale
On 27/07/15 10:08 PM, Celejar wrote: Hi, I have a fairly new external USB disk that frequently throws errors. When these occur, the disk becomes partially or totally inaccessible. Even worse, when I try to umount it, the umount hangs indefinitely, using 100% of one of my cpu cores. I haven&#

external (USB) disk errors causing hangs and 100% cpu core usage

2015-07-27 Thread Celejar
Hi, I have a fairly new external USB disk that frequently throws errors. When these occur, the disk becomes partially or totally inaccessible. Even worse, when I try to umount it, the umount hangs indefinitely, using 100% of one of my cpu cores. I haven't yet found any way to recover sho

Re: USB disk is sdf instead of sde

2015-03-09 Thread Sven Hartge
basti wrote: > I use a USB disk for weekly backups. > Today the disk is always named sdf instead of sde. > fdisk show's no sde > udevadm info --query=all --attribute-walk --name=/dev/sde found no node > cat /dev/sd > sda sda2 sdb sdb2 sdc sdd sdf sdf2 &

USB disk is sdf instead of sde

2015-03-09 Thread basti
Hello, I use a USB disk for weekly backups. Today the disk is always named sdf instead of sde. fdisk show's no sde udevadm info --query=all --attribute-walk --name=/dev/sde found no node cat /dev/sd sda sda2 sdb sdb2 sdc sdd sdf sdf2 sda1 sda3 sdb1 sdb3 sdc1 sdd1 sdf1

USB disk is sdf instead of sde

2015-03-09 Thread basti
Hello, I use a USB disk for weekly backups. Today the disk is always named sdf instead of sde. fdisk show's no sde udevadm info --query=all --attribute-walk --name=/dev/sde found no node cat /dev/sd sda sda2 sdb sdb2 sdc sdd sdf sdf2 sda1 sda3 sdb1 sdb3 sdc1 sdd1 sdf1

Re: Help diagnosing USB disk issue?

2013-03-17 Thread Brian Flaherty
Thank you all for your thoughts about the USB disk problems I'm having. I follow-up below. Kelly wrote: > Have you tried it on different ports? Yes and no change. > Do other USB devices (flash drives, keyboard/mouse, etc) work in the > port(s) you are trying this disk on? Yes.

Re: Help diagnosing USB disk issue?

2013-03-15 Thread Pascal Hambourg
Hello, Jude DaShiell a écrit : > Have you updated all of your usb drivers on that trouble machine yet? > If memory serves update-usb-ids ought to do that for you. Not at all. update-usbids just updates the USB vendor/device ID database used by lsusb to display friendly names. It has nothing to

Re: Help diagnosing USB disk issue?

2013-03-15 Thread Jude DaShiell
Have you updated all of your usb drivers on that trouble machine yet? If memory serves update-usb-ids ought to do that for you. Run by root or something like root it's a script. Also, shut the trouble box down and leave it off for an entire minute then reboot. Finally maybe download the usb

Re: Help diagnosing USB disk issue?

2013-03-15 Thread Amit Uttamchandani
Hello, I've had a similar issue to this and in my case it was due to the wrong order the modules were loading. Try the following: 1. blacklist uhci-hcd and usbhid in /etc/modprobe.d/blacklist.conf. - This forces ehci-hcd to load first. 2. Then once the system is up, manually modprobe uhci-

Re: Help diagnosing USB disk issue?

2013-03-15 Thread sp113438
On Fri, 15 Mar 2013 11:33:43 -0700 Kelly Clowers wrote: > On Fri, Mar 15, 2013 at 11:09 AM, Brian Flaherty > wrote: > > Hello, > > > > I have two laptops: > > - Lenovo X201 running Debian unstable, kernel 3.2.0-4-amd64 (also > > has 3.2.0-3-amd64 and 2.6.32-5-amd64) > > - Thinkpad X31 running an

Re: Help diagnosing USB disk issue?

2013-03-15 Thread Kelly Clowers
On Fri, Mar 15, 2013 at 11:09 AM, Brian Flaherty wrote: > Hello, > > I have two laptops: > - Lenovo X201 running Debian unstable, kernel 3.2.0-4-amd64 (also has > 3.2.0-3-amd64 and 2.6.32-5-amd64) > - Thinkpad X31 running an out-of-date Debian unstable, kernel 3.2.0-2-486 > (haven't turned this on

Help diagnosing USB disk issue?

2013-03-15 Thread Brian Flaherty
Hello, I have two laptops: - Lenovo X201 running Debian unstable, kernel 3.2.0-4-amd64 (also has 3.2.0-3-amd64 and 2.6.32-5-amd64) - Thinkpad X31 running an out-of-date Debian unstable, kernel 3.2.0-2-486 (haven't turned this one on in a while and consequently haven't updated packages) Also ha

Re: mounting USB disk

2011-07-13 Thread Andrew McGlashan
Hi, Lisi wrote: On Wednesday 13 July 2011 15:52:10 Tony van der Hoff wrote: Thanks also to Csanyi He's Paul, not Csanyi. Csanyi is his surname (family name). Actually, it looks like it is Pal (from the email address) and he is translating and possibly preferring Paul. ;-) Paul is Hunga

Re: mounting USB disk

2011-07-13 Thread Lisi
On Wednesday 13 July 2011 15:52:10 Tony van der Hoff wrote: > Thanks also to Csanyi He's Paul, not Csanyi. Csanyi is his surname (family name). Paul is Hungarian. Hungarians put the surname first, as do the Japanese; and probably many other nationalities. Lisi -- To UNSUBSCRIBE, email to d

Re: mounting USB disk

2011-07-13 Thread Tony van der Hoff
On 13/07/11 15:13, Andrew McGlashan wrote: Hi, Tony van der Hoff wrote: Runnung Squeeze here. I have a script which runs nightly, to backup certain directories to a USB disk, which does a fine job, provided the disk is mounted. Why not run blkid and if you find the "right" devi

Re: mounting USB disk

2011-07-13 Thread briand
On Thu, 14 Jul 2011 00:13:47 +1000 Andrew McGlashan wrote: > Hi, > > Tony van der Hoff wrote: > > Runnung Squeeze here. I have a script which runs nightly, to backup > > certain directories to a USB disk, which does a fine job, provided the > > disk is mounted. &g

Re: mounting USB disk

2011-07-13 Thread Andrew McGlashan
Hi, Tony van der Hoff wrote: Runnung Squeeze here. I have a script which runs nightly, to backup certain directories to a USB disk, which does a fine job, provided the disk is mounted. Why not run blkid and if you find the "right" device by it's UUID, then mount it in you

Re: mounting USB disk

2011-07-13 Thread Csanyi Pal
Tony van der Hoff writes: > Runnung Squeeze here. I have a script which runs nightly, to backup > certain directories to a USB disk, which does a fine job, provided the > disk is mounted. > > However, just plugging it in doesn't mount it, I need to actually open > i

mounting USB disk

2011-07-13 Thread Tony van der Hoff
Runnung Squeeze here. I have a script which runs nightly, to backup certain directories to a USB disk, which does a fine job, provided the disk is mounted. However, just plugging it in doesn't mount it, I need to actually open it with Dolphin. It gets unmounted with each logout, so the s

Re: power interruption -> renamed USB disk

2011-03-08 Thread Ron Johnson
On 03/08/2011 01:20 AM, Ross Boylan wrote: On Mon, 2011-03-07 at 23:47 -0600, Ron Johnson wrote: [snip] IOW=? In Other Words. [snip] I speculate that hotplug hasn't quite gotten (or never gets) the news the sdc has disappeared, and when it detects a "new" drive it assigns it the next avail

Re: power interruption -> renamed USB disk

2011-03-07 Thread Ross Boylan
On Mon, 2011-03-07 at 23:47 -0600, Ron Johnson wrote: > On 03/07/2011 11:25 PM, Ross Boylan wrote: > > On Mon, 2011-03-07 at 18:02 -0600, Ron Johnson wrote: > >> On 03/07/2011 03:08 PM, Ross Boylan wrote: > >>> I have a SATA disk in an external USB docking station. The computer it > >>> is attache

Re: power interruption -> renamed USB disk

2011-03-07 Thread Ron Johnson
On 03/07/2011 11:25 PM, Ross Boylan wrote: On Mon, 2011-03-07 at 18:02 -0600, Ron Johnson wrote: On 03/07/2011 03:08 PM, Ross Boylan wrote: I have a SATA disk in an external USB docking station. The computer it is attached to is on UPS, but the external disk has only surge protection. When th

Re: power interruption -> renamed USB disk

2011-03-07 Thread Ross Boylan
On Mon, 2011-03-07 at 18:02 -0600, Ron Johnson wrote: > On 03/07/2011 03:08 PM, Ross Boylan wrote: > > I have a SATA disk in an external USB docking station. The computer it > > is attached to is on UPS, but the external disk has only surge > > protection. > > > > When the power goes out for a mom

Re: power interruption -> renamed USB disk

2011-03-07 Thread Ron Johnson
On 03/07/2011 03:08 PM, Ross Boylan wrote: I have a SATA disk in an external USB docking station. The computer it is attached to is on UPS, but the external disk has only surge protection. When the power goes out for a moment, the disk, which was /dev/sdc, seems to come back as /dev/sdd. The d

power interruption -> renamed USB disk

2011-03-07 Thread Ross Boylan
I have a SATA disk in an external USB docking station. The computer it is attached to is on UPS, but the external disk has only surge protection. When the power goes out for a moment, the disk, which was /dev/sdc, seems to come back as /dev/sdd. The disk has a partition that is part of an LVM vo

Re: Software RAID on external USB disk: boot problems after upgrade to squeeze

2011-02-23 Thread Tom H
On Wed, Feb 23, 2011 at 8:11 AM, Panayiotis Karabassis wrote: > On 02/23/2011 03:10 PM, Tom H wrote: >> On Wed, Feb 23, 2011 at 8:01 AM, Panayiotis Karabassis >>  wrote: >>> >>> BTW, could someone explain the difference between >>> GRUB_CMDLINE_LINUX_DEFAULT >>> and GRUB_CMDLINE_LINUX in /etc/defa

Re: Software RAID on external USB disk: boot problems after upgrade to squeeze

2011-02-23 Thread Panayiotis Karabassis
On 02/23/2011 03:10 PM, Tom H wrote: On Wed, Feb 23, 2011 at 8:01 AM, Panayiotis Karabassis wrote: BTW, could someone explain the difference between GRUB_CMDLINE_LINUX_DEFAULT and GRUB_CMDLINE_LINUX in /etc/default/grub? For every vmlinuz... in /boot, GRUB_CMDLINE_LINUX_DEFAULT appli

Re: Software RAID on external USB disk: boot problems after upgrade to squeeze

2011-02-23 Thread Tom H
On Wed, Feb 23, 2011 at 8:01 AM, Panayiotis Karabassis wrote: > > BTW, could someone explain the difference between GRUB_CMDLINE_LINUX_DEFAULT > and GRUB_CMDLINE_LINUX in /etc/default/grub? For every vmlinuz... in /boot, GRUB_CMDLINE_LINUX_DEFAULT applies to the runlevel 2 entry and GRUB_CMDLINE_

Re: Software RAID on external USB disk: boot problems after upgrade to squeeze

2011-02-23 Thread Panayiotis Karabassis
On 02/23/2011 02:22 PM, martin f krafft wrote: also sprach Panayiotis Karabassis [2011.02.23.1029 +0100]: I had solved this in lenny by using the following /usr/share/initramfs-tools/scripts/local-top/mdadm script: Set rootdelay=30 on the kernel command line. Your solution seem

Re: Software RAID on external USB disk: boot problems after upgrade to squeeze

2011-02-23 Thread martin f krafft
also sprach Panayiotis Karabassis [2011.02.23.1029 +0100]: > I had solved this in lenny by using the following > /usr/share/initramfs-tools/scripts/local-top/mdadm script: Set rootdelay=30 on the kernel command line. > My solution is broken after the upgrade to squeeze and the problem > has regr

Software RAID on external USB disk: boot problems after upgrade to squeeze

2011-02-23 Thread Panayiotis Karabassis
Hi! To simplify things a little: I have an external USB disk (/dev/sdc1) that is part of an MD array (/dev/md0). During boot, I experienced the following problem: /dev/md0 was assembled with only 1 drive out of 2 (the internal one). This was due to /dev/sdc1 taking some time to be detected

Re: how to install debian on a external USB disk

2010-11-20 Thread Yuwen Dai
I run with 2 external USB disks and have for years. Most of the time my root partition is on an USB disk. > > D-i is straight forward, just select the USB disk. Instead of grub I prefer > to run with SuperGrubDisk because that allows you to search for the right > partition and fill

Re: how to install debian on a external USB disk

2010-11-09 Thread Hugo Vanwoerkom
Yuwen Dai wrote: Dear all, I've been using Debian stable for years. Now I'd like to try Debian unstable or test on an external USB disk without modifying anything on my current disk, including partition as well as grub. Would you please give me any guides on this? Thanks in adva

Re: how to install debian on a external USB disk

2010-11-09 Thread Paul Cartwright
On 11/09/2010 07:57 AM, Camaleón wrote: > Install Debian Lenny on USB Hard Drive > http://linux.koolsolutions.com/2009/01/28/installing-linux-on-usb-part-2-install-debian-lenny-on-usb-hard-drive/ > *** > > Installation should be straight forward. or just instell unetbootin.. http://unetbootin.sou

Re: how to install debian on a external USB disk

2010-11-09 Thread Camaleón
On Tue, 09 Nov 2010 20:32:51 +0800, Yuwen Dai wrote: >> >> You should proceed as usual (using expert installer). Installer will >> detect USB disk and then you can make partitions at your wish. Just >> remember to install GRUB in MBR of the USB disk. >> >> If

Re: how to install debian on a external USB disk

2010-11-09 Thread Yuwen Dai
> > > You should proceed as usual (using expert installer). Installer will > detect USB disk and then you can make partitions at your wish. Just > remember to install GRUB in MBR of the USB disk. > > If it fails at installing GRUB, do not worry, select "no boot loader

Re: how to install debian on a external USB disk

2010-11-09 Thread Johan Scheepers
On 09/11/2010 10:04, Yuwen Dai wrote: Dear all, I've been using Debian stable for years. Now I'd like to try Debian unstable or test on an external USB disk without modifying anything on my current disk, including partition as well as grub. Would you please give me any guid

Re: how to install debian on a external USB disk

2010-11-09 Thread Camaleón
On Tue, 09 Nov 2010 16:04:12 +0800, Yuwen Dai wrote: > I've been using Debian stable for years. Now I'd like to try Debian > unstable or test on an external USB disk without modifying anything on > my current disk, including partition as well as grub. Would you please >

how to install debian on a external USB disk

2010-11-09 Thread Yuwen Dai
Dear all, I've been using Debian stable for years. Now I'd like to try Debian unstable or test on an external USB disk without modifying anything on my current disk, including partition as well as grub. Would you please give me any guides on this? Thanks in advance. Best regards, Yuwen

I/O error and kernel trace on USB disk with LVM

2010-10-31 Thread David Sastre
there is an stressing I/O operation runnig, the USB disk resets and any further operation fails. I ran into this today, as an example, when I tried to convert several *.ape files to *.flac format. # touch /media/audio/d/test touch: no se puede efectuar `touch' sobre «/media/audio/d/test»: Si

Re: problems with USB disk

2010-10-23 Thread lee
le copying files for backup purposes to an USB disk > >> > with rsync. Copying the files sometimes fails with "Input/output > >> > error (5)", and I´m getting messages in the syslog like these: > >> > >> (...) > >> > >> > [12

Re: problems with USB disk

2010-10-23 Thread Camaleón
On Sat, 23 Oct 2010 02:49:10 +0200, lee wrote: > On Fri, Oct 22, 2010 at 03:36:44PM +, Camaleón wrote: >> On Fri, 22 Oct 2010 14:07:09 +0200, lee wrote: >> >> > I´m having trouble copying files for backup purposes to an USB disk >> > with rsync. Copying the

Re: problems with USB disk

2010-10-22 Thread lee
On Fri, Oct 22, 2010 at 10:17:13AM -0500, Hugo Vanwoerkom wrote: > Hugo Vanwoerkom wrote: > >lee wrote: > >>Hi, > >> > >>I´m having trouble copying files for backup purposes to an USB disk > >>with rsync. Copying the files sometimes fails with "Inp

Re: problems with USB disk

2010-10-22 Thread lee
On Fri, Oct 22, 2010 at 03:36:44PM +, Camaleón wrote: > On Fri, 22 Oct 2010 14:07:09 +0200, lee wrote: > > > I´m having trouble copying files for backup purposes to an USB disk with > > rsync. Copying the files sometimes fails with "Input/output error (5)", > &g

Re: problems with USB disk

2010-10-22 Thread Camaleón
On Fri, 22 Oct 2010 14:07:09 +0200, lee wrote: > I´m having trouble copying files for backup purposes to an USB disk with > rsync. Copying the files sometimes fails with "Input/output error (5)", > and I´m getting messages in the syslog like these: (...) > [128627.397894]

Re: problems with USB disk

2010-10-22 Thread Hugo Vanwoerkom
Hugo Vanwoerkom wrote: lee wrote: Hi, I´m having trouble copying files for backup purposes to an USB disk with rsync. Copying the files sometimes fails with "Input/output error (5)", and I´m getting messages in the syslog like these: This is what I get: Oct 22 08:02:43 deb

Re: problems with USB disk

2010-10-22 Thread Hugo Vanwoerkom
lee wrote: Hi, I´m having trouble copying files for backup purposes to an USB disk with rsync. Copying the files sometimes fails with "Input/output error (5)", and I´m getting messages in the syslog like these: [128625.090339] sd 11:0:0:0: [sdf] Unhandled sense code [128625.090342]

Re: problems with USB disk

2010-10-22 Thread lee
On Fri, Oct 22, 2010 at 10:08:02PM +0900, Osamu Aoki wrote: > Hi, > > Short answer: USB flash can die. > > On Fri, Oct 22, 2010 at 02:07:09PM +0200, lee wrote: > > Hi, > > > > I´m having trouble copying files for backup purposes to an USB disk > > with r

Re: problems with USB disk

2010-10-22 Thread Osamu Aoki
Hi, Short answer: USB flash can die. On Fri, Oct 22, 2010 at 02:07:09PM +0200, lee wrote: > Hi, > > I´m having trouble copying files for backup purposes to an USB disk > with rsync. Copying the files sometimes fails with "Input/output error > (5)", and I´m getting me

problems with USB disk

2010-10-22 Thread lee
Hi, I´m having trouble copying files for backup purposes to an USB disk with rsync. Copying the files sometimes fails with "Input/output error (5)", and I´m getting messages in the syslog like these: [128625.090339] sd 11:0:0:0: [sdf] Unhandled sense code [128625.090342] sd 11:0

Re: udev auto mount usb disk

2010-10-09 Thread Dave Thayer
On Thu, Oct 07, 2010 at 11:06:12PM +0300, Volkan YAZICI wrote: > Hi, > > Below are the configurations related with my USB disk. > > # grep tosun /etc/fstab > UUID=0C98AFAF98AF95AC /media/tosun ntfs-3g noauto,fmask=133,dmask=022 0 0 > > # cat /etc/udev/rules.d/8

Re: udev auto mount usb disk

2010-10-08 Thread Volkan YAZICI
=="add", >>>> ENV{ID_FS_UUID}=="0C98AFAF98AF95AC", RUN+="mount /media/tosun" >>>> ACTION=="remove", ENV{ID_FS_UUID}=="0C98AFAF98AF95AC", RUN+="umount >>>> -l /media/tosun" >>> >>> (...) >>

Re: udev auto mount usb disk

2010-10-08 Thread Camaleón
C", RUN+="mount /media/tosun" >>> ACTION=="remove", ENV{ID_FS_UUID}=="0C98AFAF98AF95AC", RUN+="umount >>> -l /media/tosun" >> >> (...) >> >> I see no point for that rule. What are you trying to achieve? :-?

Re: udev auto mount usb disk

2010-10-08 Thread Volkan YAZICI
CTION=="remove", ENV{ID_FS_UUID}=="0C98AFAF98AF95AC", RUN+="umount -l >> /media/tosun" > > (...) > > I see no point for that rule. What are you trying to achieve? :-? Trying to mount my USB disk to /media/tosun everytime it is plugged in, and umount whene

Re: udev auto mount usb disk

2010-10-08 Thread Camaleón
On Thu, 07 Oct 2010 23:06:12 +0300, Volkan YAZICI wrote: > Below are the configurations related with my USB disk. > > # grep tosun /etc/fstab UUID=0C98AFAF98AF95AC /media/tosun ntfs-3g > noauto,fmask=133,dmask=022 0 0 That line should be enough to get the disk mounted. &g

udev auto mount usb disk

2010-10-07 Thread Volkan YAZICI
Hi, Below are the configurations related with my USB disk. # grep tosun /etc/fstab UUID=0C98AFAF98AF95AC /media/tosun ntfs-3g noauto,fmask=133,dmask=022 0 0 # cat /etc/udev/rules.d/89-tosun.rules ACTION=="add", ENV{ID_FS_UUID}=="0C98AFAF98AF95AC", RUN+="mou

Re: Understanding USB disk space

2010-09-27 Thread Eduardo M KALINOWSKI
On Seg, 27 Set 2010, T o n g wrote: The following USB disk space report confuses me: $ df /mnt/usbpen Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdc1 490020471318 0 100% /mnt/usbpen I would think that there should be some free disk space

Re: USB disk shows up late at boot

2010-01-16 Thread Andrew Reid
On Saturday 16 January 2010 12:33:32 Hugo Vanwoerkom wrote: > This has been solved by Ben Hutchings and was reported as > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534324 > > The solution was to put ums-cypress in /etc/initramfs/modules and rerun > update-initramfs -u for that kernel. Linux

Re: USB disk shows up late at boot

2010-01-16 Thread Hugo Vanwoerkom
t process. Now the funny part: in my homegrown kernel both show up together. But with recent Debian kernel images only one shows up. I have a delay of 10 secs. in initramfs-tools but that makes no difference. The 2nd USB disk shows up eventually, but after 'Init 2.86 booting' when i

  1   2   3   >