Hi. I'm here with my beautiful English.
I always use fdisk but these days I noticed something wrong.
I have 2 HD's and I did my partitions with fdisk.
When I tried to mount, I found that message:
Code:
cat /etc/fstab|grep -i 3thd
/dev/sdb1 /3thd xfs defaults 1 1
mount /3thd/
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg |tail -n15
[ 33.010011] eth1: no IPv6 routers present
[ 35.918225] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 36.015982] nf_conntrack version 0.5.0 (15773 buckets, 63092 max)
[ 201.180041] XFS (sdb1): bad magic number
[ 201.180047] XFS (sdb1): SB validate failed
[ 238.774318] XFS (sdc1): Mounting Filesystem
[ 238.942703] XFS (sdc1): Ending clean mount
[ 245.974309] XFS (sdb1): bad magic number
[ 245.974315] XFS (sdb1): SB validate failed
[ 259.191041] XFS (sdb1): bad magic number
[ 259.191047] XFS (sdb1): SB validate failed
[ 822.539575] XFS (sdb1): bad magic number
[ 822.539581] XFS (sdb1): SB validate failed
[ 6701.506681] XFS (sdb1): bad magic number
[ 6701.506687] XFS (sdb1): SB validate failed
OK. I'm stupid, I have no idea about GPT and parted.
It's a server and there are a lot of data. I tried to understand about GPT.
I found that links about GPT:
Understand GPT:
http://www.rodsbooks.com/gdisk/
Conversions from MBR to GPT:
http://www.rodsbooks.com/gdisk/mbr2gpt.html
Can I fix this?
Code:
fdisk /dev/sdb
Welcome to fdisk (util-linux 2.21.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
WARNING: The size of this disk is 3.0 TB (3000592982016 bytes).
DOS partition table format can not be used on drives for volumes
larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID
partition table format (GPT).
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
Command (m for help): p
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
42 heads, 62 sectors/track, 2250588 cylinders, total 5860533168 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: 0x45a0c1c0
Device Boot Start End Blocks Id System
/dev/sdb1 256 732566644 366283194+ 83 Linux
Command (m for help):
Code:
fdisk /dev/sdc
Welcome to fdisk (util-linux 2.21.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
Command (m for help): p
Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
1 heads, 62 sectors/track, 63016599 cylinders, total 3907029168 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: 0xa4b57300
Device Boot Start End Blocks Id System
/dev/sdc1 2048 3907029166 1953513559+ 83 Linux
Command (m for help):
Is possible to change this?