Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Parts of the partition is not recognized after Debian mount mobile hard disk     - MongoDB upgrade to 2.6 (Database)

- MySQL database under Linux to achieve automatic backup scheduled backup day (Database)

- 7 extremely dangerous Linux commands (Linux)

- Linux Shell debugging (Programming)

- Linux System Getting Started Learning: Repair fatal error openssl aes h no such file or directory (Linux)

- Install Mac OS X 10.9 systems VMware10 (Linux)

- 15 things to do after installing Ubuntu 15.04 Desktop (Linux)

- IIS virtual host of safety knowledge (Linux)

- Mybatis + binding Struts2: achieving user to insert and find (Programming)

- MySQL High Availability plan several options (Database)

- CentOS 7 install Hadoop-cdh-2.5 on Mesos (Server)

- Generate two-dimensional code parsing code Java (Programming)

- The practical application of Oracle synonyms + dblink (Database)

- xCAT install and update software (Linux)

- Linux iptables: combat scenes (Linux)

- SA weak password security system of the security risks posed (Linux)

- Linux desktop system using the remote server in clear text ssh password (Server)

- To change CentOS7 runlevel (Linux)

- ASM Management - How to Rename diskgroup (Database)

- Correlation Analysis: FP-Growth algorithm (Programming)

 
         
  Parts of the partition is not recognized after Debian mount mobile hard disk
     
  Add Date : 2018-11-21      
         
         
         
  There is a new buy 1T mobile hard disk. After the buy ntfs formatted into several simple sub-region. 4G hard PE, rapid interactive 100G, and the remaining 800 G is divided into two equal storage disk.

After plug into computer USB port, the desktop automatically pop up a four letter. Open the front two are no problem, write read normal. The latter two will be given a double-click:

Error mounting: mount exited with exit code 1: helper failed with:
Unprivileged user can not mount NTFS block devices using the external FUSE
library. Either mount the volume as root, or rebuild NTFS-3G with integrated
FUSE support and make it setuid root. Please see more information at
http://tuxera.com/community/ntfs-3g-faq/#unprivileged

The ntfs-3g effect that no authority could not be mounted, whether or not root.

Now let's get rid of this problem:

First look at the mount, unplug and then plug in the implementation of the implementation of mobile hard disk, you will find more sdb3, sdb5

root @ debian: / # cat / etc / mtab & nbsp;
rootfs / rootfs rw 0 0
sysfs / sys sysfs rw, nosuid, nodev, noexec, relatime 0 0
proc / proc proc rw, nosuid, nodev, noexec, relatime 0 0
udev / dev devtmpfs rw, relatime, size = 10240k, nr_inodes = 1015602, mode = 755 0 0
devpts / dev / pts devpts rw, nosuid, noexec, relatime, gid = 5, mode = 620, ptmxmode = 000 0 0
tmpfs / run tmpfs rw, nosuid, noexec, relatime, size = 813700k, mode = 755 0 0
/ Dev / disk / by-uuid / 4c487d8c-396c-4601-b76d-eff7118d6775 / ext4 rw, relatime, errors = remount-ro, user_xattr, barrier = 1, data = ordered 0 0
tmpfs / run / lock tmpfs rw, nosuid, nodev, noexec, relatime, size = 5120k 0 0
tmpfs / run / shm tmpfs rw, nosuid, nodev, noexec, relatime, size = 4446660k 0 0
fusectl / sys / fs / fuse / connections fusectl rw, relatime 0 0
rpc_pipefs / var / lib / nfs / rpc_pipefs rpc_pipefs rw, relatime 0 0
binfmt_misc / proc / sys / fs / binfmt_misc binfmt_misc rw, nosuid, nodev, noexec, relatime 0 0
/ Dev / sdb3 / media / PE vfat rw, nosuid, nodev, relatime, uid = 1000, gid = 1000, fmask = 0022, dmask = 0077, codepage = cp437, iocharset = utf8, shortname = mixed, showexec, utf8, flush , errors = remount-ro 0 0
/ Dev / sdb5 / media / T1 fuseblk rw, nosuid, nodev, relatime, user_id = 0, group_id = 0, default_permissions, allow_other, blksize = 4096 0 0

I can see sdb mobile hard disk, but only mounted the two letters.
 
Check the hard disk under the status quo

fdisk -l

Disk / dev / sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors / track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical / physical): 512 bytes / 4096 bytes
I / O size (minimum / optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xb73dddb4

  Device Boot Start End Blocks Id System
/ Dev / sda1 * 2048 209719295 104858624 7 HPFS / NTFS / exFAT
Partition 2 does not start on physical sector boundary.
/ Dev / sda3 1258387456 1925328895 333470720 83 Linux
/ Dev / sda4 1925330944 1953523711 14096384 82 Linux swap / Solaris

Disk / dev / sdb: 1000.2 GB, 1000204138496 bytes
255 heads, 63 sectors / track, 121601 cylinders, total 1953523708 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical / physical): 512 bytes / 512 bytes
I / O size (minimum / optimal): 512 bytes / 512 bytes
Disk identifier: 0x6b7612b3

  Device Boot Start End Blocks Id System
/ Dev / sdb1 209921355 839685419 314882032+ 7 HPFS / NTFS / exFAT
/ Dev / sdb2 839685420 1953520064 556917322+ 7 HPFS / NTFS / exFAT
/ Dev / sdb3 63 8401994 4200966 b W95 FAT32
/ Dev / sdb4 8401995 209921354 100759680 f W95 Ext'd (LBA)
/ Dev / sdb5 8402058 209921354 100759648+ 7 HPFS / NTFS / exFAT

Partition table entries are not in disk order

Note Look, here identified Disk / dev / sdb 1000.2 GB

But mounted wrong. Following a reported fault,

Partition table entries are not in disk order

He said hard disk partition table is not the order of the hard disk inside, meaning that mobile hard disk partition table chaos,

Since it is so simple, use fdisk to rebuild the partition table can, fdisk mount a device, and then f w can update the partition table.

root @ debian: / # fdisk / dev / sdb

Command (m for help): x

Expert command (m for help): f
Done.

Expert command (m for help): m
Command action
  b move beginning of data in a partition
  c change number of cylinders
  d print the raw data in the partition table
  e list extended partitions
  f fix partition order
  g create an IRIX (SGI) partition table
  h change number of heads
  i change the disk identifier
  m print this menu
  p print the partition table
  q quit without saving changes
  r return to main menu
  s change number of sectors / track
  v verify the partition table
  w write table to disk and exit

Expert command (m for help): p

Disk / dev / sdb: 255 heads, 63 sectors, 121601 cylinders

Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
 1 00 1 1 0 254 63 522 63 8401932 0b
 2 00 0 1 523 254 63 1023 8401995 201519360 0f
 300,254,631,023,254 631,023,209,921,355 62,976,406,507
 400,254,631,023,254 631,023,839,685,420 111383464507
 5,001,152,325,463,102,363 201 519 297 07

Expert command (m for help): w
The partition table has been altered!

Calling ioctl () to re-read partition table.
Syncing disks.

Here the partition table is updated successfully, because this is my mobile hard disk, the above does not mount an operating system OS, there is no need to update the corresponding mount the / etc / fstab file and /boot/grub/menu.list these hanging load.

Fdisk -l performed again found to have successfully mounted directly to the desktop can go directly to the point.

Disk / dev / sdb: 1000.2 GB, 1000204138496 bytes
255 heads, 63 sectors / track, 121601 cylinders, total 1953523708 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical / physical): 512 bytes / 512 bytes
I / O size (minimum / optimal): 512 bytes / 512 bytes
Disk identifier: 0x6b7612b3

  Device Boot Start End Blocks Id System
/ Dev / sdb1 63 8401994 4200966 b W95 FAT32
/ Dev / sdb2 8401995 209921354 100759680 f W95 Ext'd (LBA)
/ Dev / sdb3 209921355 839685419 314882032+ 7 HPFS / NTFS / exFAT
/ Dev / sdb4 839685420 1953520064 556917322+ 7 HPFS / NTFS / exFAT
/ Dev / sdb5 8402058 209921354 100759648+ 7 HPFS / NTFS / exFAT

df look mount point mounted successfully

root @ debian: / # df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 328236772 10801844 300761392 4% /
udev 10240 0 10240 0% / dev
tmpfs 813700 972 812728 1% / run
/ Dev / disk / by-uuid / 4c487d8c-396c-4601-b76d-eff7118d6775 328236772 10801844 300761392 4% /
tmpfs 5120 0 5120 0% / run / lock
tmpfs 4446660 26196 4420464 1% / run / shm
/ Dev / sdb1 4192756 578312 3614444 14% / media / usb0
/ Dev / sdb5 100759648 14680144 86079504 15% / media / T1
/ Dev / sdb3 314882032 35480048 279401984 12% / media / T2
/ Dev / sdb4 556917320 193748248 363169072 35% / media / T3
     
         
         
         
  More:      
 
- Linux environment variable configuration (Linux)
- quotacheck command file can not be created aquota.user and aquota.group solutions (Linux)
- By creating a personal technology blog Detailed GitHub (Linux)
- How to upgrade to Ubuntu 14.04 Ubuntu 14.10 (Linux)
- using Docker Kitematic on windows (Linux)
- Linux System Getting Started Tutorial: Linux file permissions brief description (Linux)
- JavaScript event handling Detailed (Programming)
- Binary tree traversal algorithm summary (recursive and non-recursive) (Programming)
- Java singleton mode (Singleton mode) (Programming)
- Git commands (Linux)
- Generic mechanism C11 standard (Programming)
- How to build Mono 3.4.0 / 3.4.1 on Windows (Linux)
- Bash environment is automatically install and initialize oh-my-zsh & autojump zsh (Linux)
- 5 interesting Linux command line tips (Linux)
- CentOS 7 How to install MySQL Server (Database)
- C ++ How to determine the types of constants (Programming)
- linux remote control software (Linux)
- Oracle database physical file backup / restore (Database)
- Why HBase need to build SQL engine layer (Database)
- To install Xen in Ubuntu 12.04 (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.