Ubuntu :: Defragmenting An External Storage Device?
Jul 2, 2010
Are there any tools in Ubuntu that could defragment my MP4 player (Sansa E280R)? One of the songs on my MP4 player isn't showing its Album Name or Artist Name. I know I have the artist and album name tagged onto the MP3 because I set them both & double checked using mp3tag.
I currently use Ubuntu Lucid, and I'm curious if there is a program that I can install and run through it which will defragment an external USB hard drive.
My 500GB hard drive is used a lot, and I often add/remove stuff on and off of it, and I'm sure it's slowly starting to get a little fragmented with the amount of deletion and addition I do on it.
Does anybody know of a way to check and potentially defragment just it through linux? Or am I gonna have to just find a windows computer and do it there?
FYI, I don't care to nor know I really don't need to defragment my Ext4 drive to which Ubuntu's installed, its' just the external I am curious about.
I just upgraded to 15 and was wondering if it was possible to specify which devices to prioritize a route through. I have my machine, a laptop, connected to my family's router for an internet connection and a wired connection to a personal router for a faster and private connection between my other two computers and a network storage device. Whenever the laptop is connected to my personal router everything goes through it and it can't connect to any external web sites. But when I unplug it and go only on my family's wireless everything is fine, except I can't connect to the storage device since it has no external connections.
So my aim is to install openSUSEx64 11.3 onto my Macbook; but for whatever reason, upon boot-up, the system won't recognize the USB thumb drive with the expanded image of openSUSE on it. I followed steps in Terminal to expand the image onto the said USB stick and know it worked properly because Terminal said "Process Completed." Do I need a special type of USB thumb drive or am I missing something? I am using a late-2009 Macbook. By the way, these were the steps used to prep the USB thumb stick:
1. Open a Terminal (under Utilities) 2. Run diskutil list to get the current list of devices 3. Insert your flash media 4. Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2) 5. Run diskutil unmountDisk /dev/diskN 6. Execute sudo dd if=/path/to/downloaded.img of=/dev/diskN bs=1m 7. Run diskutil eject /dev/diskN and remove your flash media when the command completes
I have a Linux application(ProMAX 5000) running in a virtual Machine on my windows OS. I am using an external Hard drive of 250G in ext2 file system as my device for large data read, write & execute file system. I have already mounted the device from /etc/fstab. But i want my application to access this device as a Primary data storage device OR Secondary storage device. What command will i invoke to partition this 250G drive as my primary or secondary storage device.
here we have an older digicam (Jenoptik/Exakta Model "DC 22", if someone might want to know) that can be switched between some "PC Camera mode" and "Mass storage mode".Unfortunately, if attached to USB, it is always recognized as
I am using a Belkin F5D 8235-4 ver 2 wireless router. My linux box is connected direct. I have a 16G flash drive installed in the usb port on the router that I want to use for storage so I can dump files I share with my other machines on the network. Windows sees this usb and works fine by just using the web browser and using 192.168.2.1usb no problem. Then I try to use my unbuntu and can not for the life of me figure out how to set up a permanent link to that drive in linux. I would like to have a direct connection on my desktop. Of course I tried Belkin and was told we do not support Linux.
I just discovered that inserting any USB drive causes an immediate hang of the system. The keyboard caps lock and scroll lock lights blink. Only recourse is to power cycle the system. This is after installing Kubuntu 9.10 in January, I don't believe I had occasion to insert a USB drive until tonight. 100% reliable. No entries in logs, presumably because it hangs the kernel when it happens. The /var/log/kern.log file has been corrupted due to file system damage (1+ sectors of some other file inserted into chain) and probably other files as well.
I've not had occasion to report other bugs, but I've found no way to report anything other than application bugs. I tried using "ubuntu-bug kernel" which helpfully said there was no such application as 'kernel' and has been busy "collecting problem information" for the last half hour or more. Somehow I don't think its ever going to finish.
The crash only happens when booted into Kubuntu 9.10. If I boot off of 9.04 then USB drives work fine. Both USB drives I've tried reliably produce the crash. One is a random cheap USB thumb drive (imprinted "Cisco"), the other is a 16GB Corsair Voyager.
I had troubles with my NTFS external hdd mounting without becoming root until I changed my fstab file. However after changing my fstab file I created an error in the place of the one I had fixed. Now since the change I have two entries of my external hard drive in Places. I'd like to know how to remove the duplicate entry.
Provided is my current fstab and screenshot of duplicate: Code: # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 #Entry for /dev/sda1 : UUID=219f23c6-9079-4297-a7b3-ee41a264780b / ext4 errors=remount-ro 0 1 #Entry for /dev/sdb1 : UUID=486E622C6E62134C /media/Beast ntfs-3g auto, users, uid=1000, gid=100, utf8, dmask=027, fmask=137 0 0 #Entry for /dev/sda5 : UUID=064020c3-cf2f-4ba5-b0b6-49667fee4f27 none swap sw 0 0
I'm in need to replace a harddrive with higher capacity one but I can't tell which bay is holding on to a drive which has the OS. I don't want to pull the main drive. just wondering if there is a way to light up the led light next to physical drive/bay so I don't accidentally yank out the wrong one.
I have a dual boot Dell Studio laptop with Windows (VISTA) and Ubuntu (9.0.4) installed on it. I have recently installed Ubuntu to make it a dual boot. Before that I was using LiveUSB Ubuntu image for six months (without any problems).
During the installation of Ubuntu, I created a Linux partition of 2GB for Ubuntu installation (assuming that it was running successfully on my 2GB USB drive). All of my other work (e.g. documents/programming projects etc.) are stored on the Windows partition (which is loaded during the boot time automatically). The problem is that I get a "permission denied" error while running any executable file on the Windows partition. But if I copy the same executable on the Linux partition, everything works perfect. Am I missing something here?
I have verified that the executable have necessary execute permissions.
Running various applications, including Open Office, I need to open files from my external hard drive, from within said application itself. But the file menus for all my applications list only the files of my primary hard drive, and I can't look at other drives. Surely there must be some way to do this.
I have this unique situation, I think. My TV plays certain files only through external USB storage. My Ubuntu server stores all of these files on local hard disks. I do not want to buy an external hard disk and then keep moving it between both. Now, strange as it may sound, is it possible to somehow connect my server to the PC and expose a given local hard disk connected to the server, as an external USB drive to the TV?
I run Debian on my old computer to use it as a server. Everything is configured properly so that it functions as a web server. Now that summer comes closer I will not be home most of the time and I was thinking to use part of my server to upload/download files. Is there some nice package that provides an easy interface for such a task? I am reffering to something like the wikimedia package but for just downloading/uploading files.
As part of our back up strategy we back up data to two external strorage devices (NAS buffalo linkstation) via a cron job. Recently I noticed that the linkstation backups were not working and the server (via the terminal) complained about CIFS write error or something along these lines. I decided to reboot the server and this fixed the problem for one week for one of the linkstations and for a few weeks for the other linkstation.
There are no error messages this time on the server or on any of the logs that I have checked but the backups are not being made and the processes are still running for the days that backups have not been made.
the backups used to work everyday without fail until recently and no changes have been made to the script that does the backup..
I have properly ejected a USB memory stick and removed it from the port, but it remains in my 'Places', on the side pane of Nautilus. The /media directory is empty.
11.3 in use with KDE. When I plug in an USB stick or my HTC phone into the USB connector the device is recognised but can't be opened in dolphin. This is the error message:
Code: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.mount-removable auth_admin_keep_always <-- (action, result) but the device is shown in dolphin as a removable device and
Code: # lsusb Bus 001 Device 005: ID 0bb4:0ff9 High Tech Computer Corp.
I have a 1TB external HDD which I use to store my music library of roughly 40 gigs. Therefore I would normally import music directly from it to my Rhythmbox library while keeping everything stored on the removable drive. In recent versions of Rhythmbox this is no longer needed as the application integrates my external HDD into the side pane and lists the music automatically. This is great although when closing Rhythmbox and reopening it, the drive has to be scanned all over again. This is a huge pain when it has to scan through 40+ gigs of music.
Therefore I would like this feature disabled and removed from my side pane. It is not needed and causes quite a large annoyance. Either I want it removed or the ability to keep the index of music from the drive in Rhyrhmbox at all times. Achieving this would be fantastic and would switch me back to Rhythmbox. recently I have been using Exaile which I love but rhythmbox not working bugs me.
I am beginner in UBUNTO 10.04 LTS. I have a mobile broadband of Relience which use the device of Huawei EC 1262. I have a problem with this modem. when i installed required packages for this device like usbswitch, wvdial etc, my internet connect works fine but as i switch off the PC and restart, PC can not detect the modem, it detect as mass storage device. Is there any command/option that i switch the mass storage device into modem in the terminal window or on the GUI platform mean on the desktop screen.
I am currently using opensuse 11.2 with kde 4.3.1. I am having a problem when I connect my samsung R450. It will not mount or show up as a usable device in either Dolphin, Amarok, or on the device notifier. I have tried manually mounting but I get an error saying it cannot find such device. I did not have any issues using it in 11.1 with KDE 4.2. It is being recognized by my system, but not allowing it to show up as a storage device or being mounted.
output of dmesg:
PHP Code:
output of lsusb:
PHP Code:
When I shut of the usb mass storage on the samsung R450 it switches to modem and is properly detected and usable as modem by my system.I don't have any other problems with other usb devices, such as a digital camera or flash drives, so I don't know if I just missing a system setting or configuring something wrong.
* I am implementing mass storage device on a test board.
* It contains NAND flash.
* Using corresponding "udc driver" and "g_file_storage" I could make my test board enumerate as mass storage device on my Linux machine.
* my 16 MB pen drive (test board) is now ready for read/write.
But there are some Bad Blocks on the NAND.Hence copy is not complete. Although on Linux machine there is no error message. Now , what is there in a normal pen drive which manages the Bad Block or what am I missing so that such Bad Blocks are managed.
Here is the error I get on my test board :
mtdblock: erase of region [0x2c0000, 0x4000] on "Bon 2" failed end_request: I/O error, dev mtdblock2, sector 5664 Buffer I/O error on device mtdblock2, logical block 708
Hybrid Storage harddisks use a large non-volatile cache to save power and improve speed. I wanted to ask if there's a reasonably simple way to simulate that under Linux. Ideally there would be a FUSE-filesystem that does this, For now this is purely theoretical, but my setup would be a small home server (Sheeva Plug) with an external USB harddisk that goes to sleep after a few minutes of inactivity. To keep it powered down as long as possible, I would like to use a 16GB SD card as a cache for the harddisk, thus simulating Hybrid Storage.
The only possible solutions I found thus far were Hierarchical storage management packages for enterprise use, which are way too expensive for this task.
Recently I upgraded from my long outdated Kubuntu 6.06 dapper installation to the new LTS, 8.04 hardy. Ever since everything has been working smoothly and going well, but there's one problem: I can't mount either my external USB HDD or my SD card in my USB card reader.When I try to mount either in Konqueror (Media:/) by right clicking on the device and clicking Mount I get this:Code:mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other errorIn some cases useful info is found in syslog - try dmesg | tail or soI also get this in the console:Code:mattmodica@Dothan:/media$ sudo mount sda1[mntent]: warning: no final newline at the end of /etc/fstabmount: can't find sda1 in /etc/fstab or /etc/mtabmattmodica@Dothan:/media$The first method I tried (doing it in Konqueror) worked in dapper 6.06 just fine.If I run dmesg | tail in console I get this:
I need to enable my new E2120 samsung phone as a mass storage device. but I think I need a USB driver. Had a good look round the forums but can't seem to find any posts. Its quite a new phone but hopefully the solution is already about. When I plug it into the USB the phones screen has a hashed out 'mass storage' option.
I am running Fedora 12 OS on my machine. I would like to disable the USB devices for normal users so that usb-storage devices cannot be plugged in. However at the same time a mouse or a keypad may/could have a usb connection. note that root should be able to use the usb storage devices. How can the same be done on fedora 12? I would prefer not to do it via the BIOS options.
Greetings Fellow Knights Of The Penguin Clan....!I am having issues with device mapper seeing a 275GB Raid5 Lun from my SAN storage.I'm using IBM 2145 San Volume Controller.I am able to see a 40 GB Raid 10 device though..
we have purchased the Dell PowerVault NF 500 NAS Storage Box with Window Storage server 2003 is Installed.we have LDAP server for authentication the user in network for accessing network resources.All ubuntu users on client side use ubuntu(LDAP server )for user authentication.when a user logon on client side machine his home directory is created on client machine .
but we want to use the NAS storage device to store the home directories of user.we want to implement that ,whenever a user logon his home directory is created on powerValut NF 500 storage device so that all user data is stored centrally for taking the backup .we want to mount NAS storage device so that user uses when they login and create user profile.